You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
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).
There seems to be a misunderstanding.
We don't want to restrict the area, in which the camera can be moved (we want it to be the whole world). We want to restrict the area in which on of the sources, that is used by one of our layers, is being used, so we can achieve something like: In central europe the first source is being used, for the rest of the tiles the other source is being used.
Ideally the bounds could be inverted as well, so we wouldn't have to create 4 different sources to surround the central europe area :)
+1
very important for us. It impacts how to structure your application - as one big raster layer or multiple smaller layer. Its impossible to do multiple smaller raster layer without bounds checking upfront. Needlessly querying dozens of sources makes app very very slow.
Activity
jfirebaugh commentedon Jun 24, 2016
Duplicate of #2329.
rm3dbeckers commentedon Jun 27, 2016
There seems to be a misunderstanding.
We don't want to restrict the area, in which the camera can be moved (we want it to be the whole world). We want to restrict the area in which on of the sources, that is used by one of our layers, is being used, so we can achieve something like: In central europe the first source is being used, for the rest of the tiles the other source is being used.
Ideally the bounds could be inverted as well, so we wouldn't have to create 4 different sources to surround the central europe area :)
jfirebaugh commentedon Jun 27, 2016
Thank you for clarifying!
[-]Android, bounds: style.json ignores bounds[/-][+]enforce TileJSON bounds[/+]jfirebaugh commentedon Apr 12, 2017
GL-JS implementation happened in mapbox/mapbox-gl-js#4556.
femski commentedon Jul 9, 2017
+1
very important for us. It impacts how to structure your application - as one big raster layer or multiple smaller layer. Its impossible to do multiple smaller raster layer without bounds checking upfront. Needlessly querying dozens of sources makes app very very slow.