Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

querySourceFeatures Returns Incorrect Geometry at Zoom Levels Above Vector Tileset Max #4011

Closed
jasonpepper opened this issue Jan 18, 2017 · 2 comments

Comments

@jasonpepper
Copy link
Contributor

When I call querySourceFeatures at a zoom level which is greater than the max zoom level of my vector tileset, the geometry coordinates are incorrect.

The example below will query the features and print their coordinates to the console when you click on the map. The initial zoom will print bad coordinates. If you zoom out and then click, it will print good coordinates. The max zoom level of the vector tileset is 11.

https://output.jsbin.com/melugiseso

@andrewharvey
Copy link
Collaborator

Is this the same as #3722

@jasonpepper
Copy link
Contributor Author

Yes, it probably is. Sorry about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants