Repository navigation
Store feature keys in same order as in vector tile - #5183
Conversation
|
The map was so that |
Thanks for the tip. I implemented this conservative change in 053b517. |
|
👍 Can you add a query test to the test-suite that would have caught #5182? |
8f5e843 to
9db8a24
Compare
This tests the fix in mapbox/mapbox-gl-native#5183.
|
Looks like the test case is failing because it wants to load some tile fixtures that don't exist: |
The keys in the vector tile may not be in alphabetical order. Building a vector of keys by looping over std::map<std::string, …> effectively sorts the keys by alphabetical order without sorting the associated values. This change inserts keys in the same order in which they appear in the vector tile.
7bfc3f6 to
fcacbb8
Compare
The keys in the vector tile may not be in alphabetical order. Building a vector of keys by looping over
std::map<std::string, …>effectively sorts the keys by alphabetical order without sorting the associated values.This change removes theThis change inserts keys in the same order in which they appear in the vector tile.mapin favor of logic that more closely matches vector-tile-js.Fixes #5182.
/cc @jfirebaugh