Hello, I have the current imagery layers in the image collection:
- _layers: Array(6)
- 0: ImageryLayer {_imageryProvider: UrlTemplateImageryProvider, alpha: 1, …}
- 1: WebMapTileServiceImageryProvider {_useKvp: true, _layer: “Coastlines”, …}
- 2: ImageryLayer {_imageryProvider: SingleTileImageryProvider, alpha: 1 …}
- 3: ImageryLayer {_imageryProvider: SingleTileImageryProvider, alpha: 1 …}
- 4: ImageryLayer {_imageryProvider: SingleTileImageryProvider, alpha: 1 …}
- 5: ImageryLayer {_imageryProvider: SingleTileImageryProvider, alpha: 1 …}
However, when I try to raise the WebMapTile…Provider to the top (since those are Coastline tiles, I need them on top) I get a Cesium Error:
I try to raise the layer to the top as usual:
viewer.imageryLayers.raiseToTop(myCoastlineImageryProvider)
I see, that in the Cesium documentation, it accepts an ImageryProvider as argument, and I pass in a WebMapTile…Provider, so that might be the reason it is not happy?
In that case, how do I still raise a WebMapTile…Provider?
Thanks