Changelog
1.110.1 - 2023-10-25
CesiumJS no longer ships with a demo Google Maps API key. GoogleMaps.defaultApiKey
is no longer defined by default.
createGooglePhotorealistic3DTileset
by default now provides tiles via Cesium ion if the GoogleMaps.defaultApiKey
is not set.
If you wish to continue to use your own Google Maps API key, you can go back to the previous behavior:
Cesium.GoogleMaps.defaultApiKey = "your-api-key";
const tileset = await Cesium.createGooglePhotorealistic3DTileset();
viewer.scene.primitives.add(tileset));