Zoom to dsm or dtm layer.

How can i zoom to the dsm or dtm layer added via ion. I’m able to zoom to that place when opened via ion console.But unable to zoom to that place when opened in sandcastle.How can i achieve it.

If you’re adding it as terrain to CesiumJS, it gets merged with Cesium World Terrain as a base layer, so it’s no longer a separate piece of data. ion stores the extents of the terrain you upload before tiling it, so it can use that information when zooming in. I believe this will be possible once the ion REST API is released, so you can request this metadata. I’ve opened a feature request here:


I’ll update this thread once that’s available.