I’m developing a Cesium ion application and need to implement a dynamic basemap solution that combines a MapTiler style map with Cesium Ion’s “Bing Aerial with Labels” imagery.
Specifically, I want the MapTiler map (from this style URL: https://api.maptiler.com/maps/0196a6a7-17e6-75c6-be1e-6f86cb1c9c9e/style.json?key=${MAPTILER_KEY}
) to display globally for zoom levels 0 through 22.
However, for seven specific countries, I need the MapTiler map to show only up to zoom level 14. For zoom levels 15 through 22 within these countries, the basemap must switch to Cesium Ion’s “Bing Aerial with Labels” (asset ID 3).
How would I go about creating Cesium ion code to achieve this conditional basemap switching based on both zoom level and geographic bounding boxes?