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

Cherry pick global symbol querying to release-boba #11952

Merged
merged 3 commits into from
May 22, 2018

Conversation

ChrisLoer
Copy link
Contributor

@ChrisLoer ChrisLoer commented May 18, 2018

This is a cherry pick from master of #11742, which moves symbol-querying away from a "per-tile" approach. From the original PR:

fixes (1) querying near tile boundaries, and (2) result sort order for symbol buckets that have been re-sorted after generation.

"querying near tile boundaries" was mapbox/mapbox-gl-js#5475.
"symbol buckets that have been re-sorted " was mapbox/mapbox-gl-js#6184.

It's also nice that it gets rid of the commitFeatureIndexes pathway.

At the time of #11742, there weren't any known issues with that pathway -- we just knew it was brittle. It turns out that pathway caused #11780 and (I think) #11788, which should both be fixed by this PR.

This PR depends on changes to the GL JS test suite that haven't yet merged into the GL JS release-boba branch (see mapbox/mapbox-gl-js#6699). Once those go in we'll need to fix the pin here.

/cc @julianrex @jfirebaugh @ansis @lilykaiser @emerciercontexeo @shinma

@ChrisLoer ChrisLoer requested a review from ansis May 18, 2018 22:11
 - Symbol querying is now global instead of per-tile
 - Symbols that bleed over tile boundaries no longer missed in queries
 - Symbol results now sorted based on rendering order (ie overlapping symbols change their sort order when a bearing change causes their render order to change)
 - Placement::retainedQueryData now responsible for maintaining symbol querying data for buckets that may no longer be in the TilePyramid.
@lilykaiser lilykaiser added this to the ios-v4.0.2 milestone May 21, 2018
@ChrisLoer ChrisLoer merged commit 0f3aca8 into release-boba May 22, 2018
@friedbunny friedbunny deleted the boba-global-symbol-query branch May 22, 2018 19:29
@friedbunny friedbunny added refactor Core The cross-platform C++ core, aka mbgl rendering labels May 22, 2018
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 refactor rendering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants