-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
separate Tile's style zoom level from it's data zoom level #1912
Labels
Comments
ref #1909 |
Merged
ansis
added a commit
that referenced
this issue
Jan 27, 2016
fixes #1912 TileCoord's constructor now requires `sourceMaxZoom`, which is used to calculate the TileCoord's data zoom level and for calculating child and parent TileCoords. The goal is to contain all the weird logic for representing overscaled tiles within TileCoord.
Closing in favor of #2868 which highlights user-facing behaviour and doesn't specify an implementation. |
This was referenced Jul 29, 2016
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current implementation of overscaled tile reparsing abuses the
z
coordinate to store the zoom level that needs to be used for style parsing. The realz
is recovered using sourceMaxZoom. It's really hard to follow how this works or if it works.A TileCoord should have two separate z's. One for the style and one for the actual vectortile.
The text was updated successfully, but these errors were encountered: