Show elevation on click

How to get the elevation in meters from any location. MapTiler SDK elevation functions provide convenient access to get the elevation in meters from any location. It’s possible to look up and compute the elevation from: a single location, provide a batch of points, a GeoJSON LineString or a GeoJSON MultiLineString.

Click on the map to get the elevation at this location

Was this helpful?
SDK JS
Examples
Show elevation on click
Elevation at point