7.3 KiB
7.3 KiB
layout | title |
---|---|
default | Plugins |
Notable Leaflet Plugins
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 lots of nice plugins to choose from.
Layers and Overlays
Plugin | Description | Maintainer |
---|---|---|
Leaflet.markercluster | Beautiful, sophisticated, high performance marker clustering solution with smooth animations and lots of great features. Recommended! | Dave Leaver |
Leaflet.iconlabel | Adds text labels to map markers. | Jacob Toye |
RaphaelLayer | Allows you to use Raphael as a layer on a Leaflet map for advanced animations and visualizations. | Dynamic Methods |
Overlapping Marker Spiderfier | Deals with overlapping markers in a Google Earth-inspired way by gracefully springing them apart on click. | George MacKerron |
TileLayer.BoundaryCanvas | Allows you to draw tile layers with arbitrary polygonal boundary. HTML5 Canvas is used for rendering. | Alexander Parshin |
Services, Providers and Formats
Plugin | Description | Maintainer |
---|---|---|
Proj4Leaflet | Proj4js integration plugin, allowing you to use all kinds of weird projections in Leaflet. | Kartena |
Plugins by Pavel Shramov | A set of plugins for: GPX, KML layers; Bing tile layer; Google and Yandex layers (implemented with their APIs), Permalink and alternative Scale controls. | Pavel Shramov |
cartodb-leaflet | Official CartoDB plugin for Leaflet. | Vizzuality |
Leaflet Vector Layers | Allows to easily create vector layers from a number of geo web services, such as ArcGIS Server, Arc2Earth, GeoIQ, CartoDB and GIS Cloud. | Jason Sanford |
leaflet-tilejson | Adds support for the TileJSON specification to Leaflet. | Per Liedman, Kartena |
leaflet-providers | Contains configurations for various free tile providers — OSM, OpenCycleMap, MapQuest, Mapbox Streets, Stamen, Esri, etc. | Stefan Seelmann |
azgs-leaflet | A set of small plugins for Leaflet, including WFS-GeoJSON layer with filtering, a hover control for GeoJSON, and an Esri tile layer. | AZGS |
Leaflet Control Bing Geocoder | A simple geocoder control that uses Bing to locate places. | Samuel Piquet |
Controls and Interaction
Plugin | Description | Maintainer |
---|---|---|
Leaflet.draw | Enables drawing features like polylines, polygons, rectangles, circles and markers through a very nice user-friendly interface with icons and hints. Recommended! | Jacob Toye |
Leaflet.EditableHandlers | A set of plugins that includes circle editing, measuring tool, and label for polygon sides. | Kartena |
Leaflet.Pancontrol | A simple panning control. | Kartena |
Leaflet.zoomslider | A zoom slider control. | Kartena |
leaflet.zoomfs | A fullscreen button control. | Eli Dupuis |
leaflet.fullscreen | Another fullscreen button control but for modern browsers, using HTML5 Fullscreen API. | Bruno B |
Other Plugins and Libraries
Plugin | Description | Maintainer |
---|---|---|
OSM Buildings | Amazing JS library for visualizing 3D OSM building data on top of Leaflet. | Jan Marsch |
leaflet-hash | Plugin for persisting map state and browsing history through the URL hash. | Michael Lawrence Evans |
arc.js | A JS library for drawing great circle routes that can be used with Leaflet. | Dane Springmeyer |