Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[core] Store type of renderable segment when sorting symbols by key #14517

Merged
merged 1 commit into from
Apr 26, 2019

Conversation

alexshalamov
Copy link
Contributor

@alexshalamov alexshalamov commented Apr 25, 2019

This PR changes container type that allows to store segments with same sort key and also sorts text and icon segments differently, so that if segments have same sort-key, icon would take precedence over text.

Render test: mapbox/mapbox-gl-js#8198
Fixes: #14508
Fixes: #14509

@alexshalamov alexshalamov force-pushed the alexshalamov_use_multiset_for_symbol-sort-keys branch 2 times, most recently from c64b6c4 to f43e50b Compare April 26, 2019 08:29
@alexshalamov alexshalamov force-pushed the alexshalamov_use_multiset_for_symbol-sort-keys branch from f43e50b to b7ff23d Compare April 26, 2019 11:33
@alexshalamov alexshalamov merged commit 5e04091 into master Apr 26, 2019
@alexshalamov alexshalamov deleted the alexshalamov_use_multiset_for_symbol-sort-keys branch April 26, 2019 12:02
alexshalamov added a commit that referenced this pull request Apr 26, 2019
alexshalamov added a commit that referenced this pull request Apr 26, 2019
@chloekraw chloekraw added the Core The cross-platform C++ core, aka mbgl label Jul 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

symbol-sort-key hides symbol at some zoomlevels symbol-sort-key hides text-field
3 participants