I wanted to load the KMZ data on the earth but it wasn’t displayed. Please help me.
The result is below:
This’s my code:
const kmlUrl = './Assets/gdpPerCapita2008.kmz';
const kmlDataPromise = Cesium.KmlDataSource.load(kmlUrl, {
camera: viewer.scene.camera,
canvas: viewer.scene.canvas,
screenOverlayContainer: viewer.container,
});
viewer.dataSources.add(kmlDataPromise);
