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

Querying rendered features returns wrong values in perspective view #6630

Closed
brunoabinader opened this issue Oct 7, 2016 · 1 comment
Closed
Assignees
Labels
bug Core The cross-platform C++ core, aka mbgl release blocker Blocks the next final release
Milestone

Comments

@brunoabinader
Copy link
Member

Spin-off from #6055 - I suspect there is a bug in CollisionTile::yStretch calculation.

See example below:
screen shot 2016-10-07 at 4 42 45 pm
Expected results:

  • Map::queryPointAnnotations from the entire screen should return 4 features.

Actual results:

  • Map::queryPointAnnotaitons returns invalid values varying depending on screen size.

/cc @jfirebaugh @ansis @kkaefer

@brunoabinader
Copy link
Member Author

Fixed in #6773.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Core The cross-platform C++ core, aka mbgl release blocker Blocks the next final release
Projects
None yet
Development

No branches or pull requests

3 participants