I have a custom TerrainProvider that grabs terrain data from a local WMS server. It worked fine up to 1.104. I’ve looked at the Change log for 1.104 and cannot find anything that seems to be different in that area.
What happens is as soon as i assign viewer.terrainProvider my custom provider, all imagery and terrain stops loading. I just have a black screen. If I dont assign terrainProvider (or assign it to Cesium WorldTerrain), then map imagery loads fine.
So something in the terrainProvider is blocking the loading of map imagery.
We overhauled how asynchronous behavior was handled in 1.104, and in particular we deprecated the readyPromise property throughout the API.
If your custom terrain provider load any initial metadata, please assign a promise requesting that data to _readyPromise in the constructor. Otherwise, you can set _readyPromise = Promise.resolve(this); in the constructor. This requirement will be removed in 1.107.