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

Support {prefix} in TileJSON URL templates #270

Open
pnorman opened this issue Dec 12, 2019 · 0 comments
Open

Support {prefix} in TileJSON URL templates #270

pnorman opened this issue Dec 12, 2019 · 0 comments

Comments

@pnorman
Copy link

pnorman commented Dec 12, 2019

Mapbox GL supports the token {prefix} in TileJSONs, where prefix is ((x % 16)*16 + y % 16) in hex (e.g. {prefix} is 00 for for tiles with (x,y) = (0,0), or {prefix} = aa for tiles with (x,y) = (11,11))

It would be useful to be able to support this so these tilejsons can be used for debugging.

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

1 participant