is there a method in the viewer or a property that could I could check to see if the map has fully loaded?
Hi @zenny_Torio Welcome here!
This topic has already been discussed. Please check this post.
You can use tileLoadProgressEvent to check all terrain and imagery for the current view have been loaded.
Example:
viewer.scene.globe.tileLoadProgressEvent.addEventListener(function (queuedTileCount) {
console.log(queuedTileCount);
console.log(viewer.scene.globe.tilesLoaded);
if(viewer.scene.globe.tilesLoaded){
}
});
Please let us know here if you need anything else to discuss.
- Regards
1 Like
Cool, Thank you very much