Closed lukemckinstry closed 3 weeks ago
@lukemckinstry The imageryProvider
option was deprecated and ultimately removed in version 1.107. Use baseLayer
instead:
const viewer = new Cesium.Viewer('cesiumContainer', {
baseLayer: new Cesium.ImageryLayer(new Cesium.UrlTemplateImageryProvider({
url: 'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png',
subdomains: 'abcd', // Carto supports these subdomains
credit: '© CartoDB'
})),
baseLayerPicker: false // Disable default base layers if you only want the Carto basemap
});
What happened?
In our docs for
UrlTemplateImageryProvider
, the basemap service from Carto is not loading imagery on the globe. It appears the service is still active https://github.com/CartoDB/basemap-styles.The following code does not load tiles in sandcastle
Reproduction steps
1. 2. 3. ...
Sandcastle example
No response
Environment
Browser: CesiumJS Version: Operating System: