Closed ilyaly closed 1 year ago
Sorry for my mistake. readyPromise
is not a function but a promise, so you can use it as follows:
provider.readyPromise.then(() => {
cesiumViewer.imageryLayers.addImageryProvider(provider);
})
or use the await
keyword:
await provider.readyPromise
When loading any .tiff file as proposed in a readme file:
,I always get the error:
I'am using Cesium 1.99 so this should not be a problem with deprecated API.