[core] Port global symbol query from GL JS:

- 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.
This commit is contained in:
Chris Loer
2018-04-18 16:33:37 -07:00
committed by Chris Loer
parent ed4538bb30
commit 661b4e0558
35 changed files with 219 additions and 196 deletions

View File

@@ -76,8 +76,7 @@ std::unordered_map<std::string, std::vector<Feature>>
RenderRasterSource::queryRenderedFeatures(const ScreenLineString&,
const TransformState&,
const std::vector<const RenderLayer*>&,
const RenderedQueryOptions&,
const CollisionIndex& ) const {
const RenderedQueryOptions&) const {
return std::unordered_map<std::string, std::vector<Feature>> {};
}