I'm working on a transfer from a GE solution to Cesium.
The project displays a 3D model of a helicopter and its trajectory synced with the cesium clock.
The user load the flight data and the viewer is opened. This work perfectly.
The only issue is that the UI from Cesium allows the user to click on play even if the terrain is not fully loaded.
I would like to find a way to prevent this and ensure the user will have the best experience possible.
You can disable the ability to play the timeline with viewer.clockViewModel.canAnimate, then re-enable then when the terrain provider is ready like this:
That sounds like it’s just a consequence of loading a lot of terrain data. If you can point us to a specific part of the code where you think there may be a performance bottleneck, perhaps we can help.