Replies: 1 comment 2 replies
-
I don't think you can do that in style.json as it's current definition, but you can do that with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have two satellite raster sources.
One from the French public map administration, IGN. It covers France's territories (which is a complex worldwide set of polygons) at zoom > 12, but also the whole world at zoom < 12.
I do have the boundaries as geojson (source is here as .poly, simply use geojson.io to convert it to geojson).
Then I have MapTiler's worldwide satellite imagery, but it costs quite a lot of money with a bit of usage. Hence, I'd like to prefer the local source for local zoom,lat,lon and the global source for the rest of the usage.
At zoom > 12, the French source should be preferred, no maptiler source should be used.
At zoom > 12 inside of the French multi-polygon, the French source should be used.
At zoom > 12 outside of the French multi-polygon, the MapTiler source should be used.
How can I do that in my style.json ?
Regads
Beta Was this translation helpful? Give feedback.
All reactions