-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 bounds in TileJSON #1775
Labels
Comments
You're right, TileJSON |
ah okay, thanks for the clarification @jfirebaugh |
lucaswoj
changed the title
Bounds for individual raster source
Support bounds in TileJSON
Jul 29, 2016
ref #1404 |
This was referenced Jul 29, 2016
We are using something like this to avoid requests to tiles which are located outside of a given bounding box: https://gist.github.com/Scarysize/abcf22c514d64125111a5b130cf66fb3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the combination of documentation here which states, "Tiled sources (vector and raster) must specify their details in terms of the TileJSON specification" and the TileJSON documentation here leads me think it's possible to add a raster source that only adds tiles within certain bounds. However, when I try to do so, the entire map is tiled, rather than just the portion of map contained within
bounds
. For instance, this code tiles the entire map without respect tobounds
whereas I would expect it to tile only within the bounds given ([-10, -10, 10, 10]
):The text was updated successfully, but these errors were encountered: