I recently updated my CesiumViewer to 1.119. I noticed that it no longer provides the ESRI World Street Map as an option in the drop down menu . . .
I created a custom dropdown menu and tried to add that imagery provider back in but I get an error . . .
As an example, I can still run the old version of Cesium and I can still access this map type . . .
Hi @tzgardner,
It still should be possible, but the API has changed slightly since older versions. Can you drop the code you used for the custom menu?
Hi @tzgardner,
You’ll want to use ArcGisMapServerImageryProvider.fromUrl
or ArcGisMapServerImageryProvider.fromBasemapType
. For example:
new Cesium.ProviderViewModel({
name: "ESRI World Street Map",
iconUrl: Cesium.buildModuleUrl("Widgets/Images/ImageryProviders/esriWorldStreetMap.png"),
tooltip:"This worldwide street map presents highway-level data for the world.",
creationFunction: function () {
return Cesium.ArcGisMapServerImageryProvider.fromBasemapType(Cesium.ArcGisBaseMapType.SATELLITE)
},
}),
Note that some older ArcGIS map types have been deprecated by Esri, so they may not all still be available for use.
Curious what got depreciated between Cesium versions? Was it tile sizes? Is there any work around to be able to use the older format?
Just curious because I really liked that map layout of the ESRI Street Map. It contained just enough info to be helpful but wasn’t overrun by a lot of icons and labels like some of the newer ones.
The CesiumJS API changed, but functionality did not.
Esri, the service provider, is deprecating the map service. I’m not sure the reason, but there are likely similar base maps available from them which should still be usable in CesiumJS.