Draw elevation profile on canvas

I recently tried this example

I wonder if can we apply this in cesium?

I use Geoserver Terrain provider…

Thanks

Best Regards

1 Like

For a top-down view, the combination of the picking example and sampleTerrain will work OK. However, this will not work for horizon views. There are changes in the camera-terrain branch that are useful for querying the terrain height of a mouse click in the general case.

Patrick