-
Notifications
You must be signed in to change notification settings - Fork 1.3k
enforce TileJSON bounds #5394
Comments
Duplicate of #2329. |
There seems to be a misunderstanding. |
Thank you for clarifying! |
GL-JS implementation happened in mapbox/mapbox-gl-js#4556. |
+1 |
According to https://github.com/mapbox/tilejson-spec/tree/master/2.1.0, there is parameter "bounds", which can be used to define east, south, west, north LatLon bounds on a source, unfortunately this parameter seems to have no effect in a style.json.
We are trying to use our own raster Tilesource (which basically works great), which unfortunately doesn't cover the whole world. So we use another tilesource behind it, and now would like to only request our tiles within given bounds and only request the other tiles outside of the bounds.
The main problem is that right now both sources are being queried inside of the bounds, which of course produces unnecessary traffic and creates an ugly visual effect as you are able to see the unwanted tiles for a short amount of time (or maybe even longer, depending on bandwidth).
The text was updated successfully, but these errors were encountered: