Query Elevation (points)

Explore in the sandboxView live

This sample demonstrates how to query an ElevationLayer for the elevation of a point.

It instantiates two elevation layers that contain the elevation of the earth surface before and after the 2014 Oso landslide. When the user clicks on the map, it queries both layers for the elevation at the clicked position and shows the difference between before and after the landslide.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.