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

queryRenderedFeatures failing for circle layers on a tile boundary #10615

Closed
zugaldia opened this issue Dec 1, 2017 · 2 comments · Fixed by #11571
Closed

queryRenderedFeatures failing for circle layers on a tile boundary #10615

zugaldia opened this issue Dec 1, 2017 · 2 comments · Fixed by #11571
Assignees
Labels
Core The cross-platform C++ core, aka mbgl

Comments

@zugaldia
Copy link
Member

zugaldia commented Dec 1, 2017

In the sample set up below, when the user taps on the map:

  • If we use queryRenderedFeatures to detect the yellow circle layer, everything works as expected (the circle layer is found).
  • If we use queryRenderedFeatures to detect the gray circle layer, which is in between a tile boundary, it'll only be detected when tapped on the right side. queryRenderedFeatures will fail with coordinates on the left side of the circle.
  • If they gray circle gets moved east (out of the boundary), queryRenderedFeatures works again as expected.

screenshot_20171201-160431

cc: @tobrun

@jfirebaugh
Copy link
Contributor

Equivalent GL JS issue: mapbox/mapbox-gl-js#5756

@tobrun tobrun added the Core The cross-platform C++ core, aka mbgl label Dec 2, 2017
@ansis ansis self-assigned this Jan 22, 2018
@jfirebaugh
Copy link
Contributor

In #11452, I added ignores for the query tests included mapbox/mapbox-gl-js#6036 that should be removed when this is fixed.

@jfirebaugh jfirebaugh added this to the android-v6.0.0 milestone Mar 14, 2018
@tobrun tobrun modified the milestones: android-v6.0.0, android-v6.1.0 Apr 13, 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants