MapTools
Open source Open source

Leaflet

The lightweight open-source JavaScript library for interactive maps

What is Leaflet?

Leaflet is the most widely used open-source JavaScript library for mobile-friendly interactive maps. It is small, simple and has hundreds of plugins for markers, clustering, drawing and more.

Key features

  • Raster tile layers
  • Markers, popups, vectors and GeoJSON
  • Hundreds of plugins
  • Tiny footprint

Strengths

  • Very easy to learn
  • Huge plugin ecosystem

Limitations

  • No native vector tile or 3D rendering

Pricing

Model
Open source
Starts at
Free
Free tier
Free to use
Software licence
BSD-2-Clause

Prices change often. Check the official pricing page before you buy.

Licensing & map usage

Commercial useAllowed
Export / print map imagesAllowed
Offline use / cachingAllowed

The library is free. The tiles you load keep their provider's terms.

Summary only, not legal advice. The provider's current terms always apply.

Leaflet alternatives

See all

Protomaps

protomaps.com

Self-host an entire world basemap as a single PMTiles file

Open sourceBasemaps9

Mapbox

mapbox.com

Custom map styles, vector tiles and location APIs for developers

FreemiumBasemaps8

Google Maps Platform

mapsplatform.google.com

Google's maps, places, routes and 3D tiles APIs

PaidBasemaps7

MapLibre GL JS

maplibre.org

Open-source vector map rendering for the web and mobile

Open sourceLibraries6

kepler.gl

kepler.gl

Drag-and-drop geospatial data visualization in the browser

Open sourceData Viz5

CesiumJS

cesium.com

Open-source 3D globe and 3D Tiles rendering in the browser

Open sourceLibraries4