1. A concise explanation of the problem you’re experiencing.
I’ve noticed that there are already multiple reports of the poor performance of the ArcGISTiledElevationTerrainProvider, and for me it is almost unusable when you zoom in close to the terrain - whereas I get a solid 60fps using Cesium World Terrain.
This post isn’t about that though, it’s about the fact that Cesium.sampleTerrain doesn’t seem to work at all with the ArcGISTiledElevationTerrainProvider.
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
-
Please open the sandcastle link below
-
Please click ‘Sample Everest Terrain at Level 9’. It will work fine using the default Cesium Terrain Provider or the Ellipsoid terrain provider.
-
Use the dropdown to change the terrain provider to the ‘ArcGISWorldElevationLayer’. You’ll notice that the terrain does load and appear to work (albeit slowly).
-
Click ‘Sample Everest Terrain at Level 9’ again, and it will crash.
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
I need to be able to sample heights on the ArcGIS layer as it is the only terrain I have for my customer.
4. The Cesium version you’re using, your operating system and browser.
Cesium 1.65.0. Mac OS 10.15.2, Chrome 79.0.3945.117