Elevation API Examples

Maptoolkit Maps JS
Show a route with an interactive elevation profile on a Maptoolkit map.

MapLibre GL JS
Show a route on a MapLibre GL map with an interactive elevation profile.

Leaflet
Show a route on a Leaflet map with an interactive elevation profile.

Climb Statistics
Calculate total ascent, descent and the steepest section of a route from one Elevation API request.

Route with Elevation Profile
Request a hiking route from the Routing API and chart its climb with the Maptoolkit elevation profile widget.