Leaflet plugins database
While Leaflet is meant to be as lightweight as possible, and focuses on a core set of features, an easy way to extend its functionality is to use third-party plugins. Thanks to the awesome community behind Leaflet, there are literally hundreds of nice plugins to choose from. Within each section, they’re sorted by GitHub stars.
Tile & image layers
Integration
Overlay display
Overlay interaction
Map interaction
Analysis & services
Ready for Leaflet 2
Plugins that already work with Leaflet 2.0. Ported yours? Mark it with compatible-v2: true.
-
Leaflet.
markercluster ★ 4.2KBeautiful, sophisticated, high performance marker clustering solution with smooth animations and lots of great features.
-
Leaflet.
heat ★ 1.7KA tiny, simple and fast Leaflet heatmap plugin. Uses simpleheat under the hood, additionally clustering points into a grid for performance.
-
Leaflet GeoSearch ★ 1.1K
Small geocoding plugin that brings address search to Leaflet, with support for Google, OpenStreetMap Nominatim, Bing, Esri and more. Easily extensible.
-
Leaflet Control Geocoder ★ 617
A clean and extensible control for both geocoding and reverse geocoding. Built-in support for Nominatim, Bing, MapQuest, Mapbox, What3Words, Google and Photon. Easy to extend to other providers.
-
Displays interactive elevation profiles of GPX, KML and GeoJSON tracks, drawn with native SVG and Canvas elements.
-
leaflet-rotate ★ 108
Adds rotation functionality to leaflet map panes
-
Geocoding and reverse geocoding with the MapTiler Geocoding API, from states and cities down to addresses and POIs. Supports many languages, per-country limits, fuzzy matching and autocomplete.
-
location-picker ★ 83
A form field for picking a location by panning the map under a fixed pin. Comes as a
<location-picker>web component and a JavaScript class, with address search and a locate button. -
leaflet-kmz ★ 54
Loads KMZ files into Leaflet maps.
-
Single-step data classification, symbology and legend creation for GeoJSON data powered thematic maps.
-
leaflet-ui ★ 29
Presets for a ready-to-use map: common base layers and controls (geocoding, geolocation, fullscreen, minimap, rotation and more) in one package.
-
leaflet-pegman ★ 25
Adds a draggable pegman control for exploring Google Street View panoramas.
-
leaflet-google ★ 19
Sync your Leaflet map with Google Maps through the official JavaScript SDK.
-
Leaflet.
Polydraw ★ 15Draws and edits polygons, freehand or point by point, with merging of overlapping shapes, holes, vertex editing and dragging.
-
Fork of Leaflet.GestureHandling. Prevents unwanted map scroll and touch interactions.
-
Edit only a local portion of a large polyline.
-
Leaflet plugin that provides direction markers that can indicate the position of a marker, even when it is out of range or covered by a control. Can be used, for example, to highlight markers when hovering on labels in a sidebar.
-
Adds a L.Control.OpacitySlider for base layers and overlays.
-
leaflet-edit-osm ★ 2
Adds an unobtrusive link for editing the current map view in OpenStreetMap.
-
Leaflet.
Boating ★ 2Leaflet plugin to geolocate the user and display heading, speed and location like a simple navigation app.
-
A fully customizable coordinate viewer written in TypeScript, with its look defined by a custom JSX component.
-
A lightweight Leaflet plugin that adds a burger menu with nested submenus to the map interface. Hovering over menu items reveals submenus, and clicking items can trigger custom actions.
-
leaflet-trails ★ 1
Displays any route from Lonvia’s Waymarked Trails as a queryable and interactive overlay.
-
Displays the layers control inline.
-
Rotate and tilt Leaflet maps in 3D. Render extruded buildings, terrain data, and other vector models onto a standard L.Layer with plain WebGPU.
-
Concentric circles showing where a point sound source falls to chosen decibel levels (inverse-square law, optional approximate air absorption), with labels, tooltips and popups.
-
Makes semi-transparent tile overlays clickable and hoverable like vector layers, by sampling the alpha channel of their tiles.
-
US federal campgrounds from RIDB (Recreation.gov) with a filter control for tent and RV sites, hookups, fire pits, pets, accessible sites and rig length.
Tile & image layers
The following plugins allow loading different maps and provide functionality to tile and image layers.
Basemap providers
Ready-to-go basemaps, with little or no configuration at all.
-
leaflet-providers ★ 2.4K
Contains configurations for various free tile providers — OSM, OpenCycleMap, Stamen, Esri, etc.
-
Esri Leaflet ★ 1.7K