Use elevation
Elevation data adds a vertical dimension to your maps and applications. Whether itβs planning hiking routes or enhancing and analyzing terrain, our elevation service provides accurate height (altitude above sea level) for any location on Earth.
How it works
The elevation data comes from a high-resolution digital elevation model (DEM) that covers the entire planet. To dive deeper and learn how exactly it works, see the documentation of our Terrain RGB (raster-DEM) dataset.
How to integrate
Our elevation data is available via the Elevation API. The API page explains how to get elevation programmatically and which libraries you can use to query it, and provides complete API reference.
If youβre looking for a no-code way to enrich your custom map features (points, lines, polygons) with elevation values, you can do that in our vector data editor.
Use cases
Check out the code examples to see how to build apps using elevation. Here are the most popular scenarios:
Show elevation on click
A popular option to use elevation is to simply show the value when users interact with your map. This is perfect for hiking apps, real estate sites, or any application where terrain height matters. π How to show elevation on click
Create elevation profile
Elevation profiles help users understand the difficulty of a route by visualizing climbs and descents. You can add a control to your map that creates a detailed terrain profile along the selected route. π How to add elevation profile control to your app