Leaflet Examples

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

Geocoding - Geocoder Search
Add a geocoder search control to a Leaflet map using the leaflet-control-geocoder plugin.

Isochrone - Walking Area
Fetch a walking isochrone and draw it as a polygon on a Leaflet map.

Raster Tiles - Basic Map
Display a Maptoolkit raster tile map using Leaflet.

Routing - Route Display
Calculate a car route and draw it on a Leaflet map with turn-by-turn markers.

Vector Tiles - Basic Map
Display a Maptoolkit vector tile map using Leaflet.

React Leaflet
Maptoolkit raster tiles in a React app with react-leaflet.

Next.js with Leaflet
React Leaflet with Maptoolkit raster tiles in a Next.js app.

Marker Clustering
Group thousands of markers into clusters on a Leaflet map.

Vue Leaflet
Maptoolkit raster tiles in a Vue 3 app with vue-leaflet.

Choropleth with Legend
Color countries by a value, with popups and a legend.

Draw and Edit Shapes
Draw, edit and measure shapes, and export them as GeoJSON.

Route Planner
Drag A or B to reroute, and hover a step to see it on the map.

Angular with ngx-leaflet
Maptoolkit raster tiles in an Angular app with ngx-leaflet.