Leaflet
More info
- Creator
- Vladimir Agafonkin
- Released
- Type
- JavaScript library
- License
- BSD-2-Clause
- Website
- leafletjs.com
A lightweight JavaScript library for interactive maps — around 40 kB with almost no dependencies.
Vladimir Agafonkin released it in 2011. The API is deliberately small: a map, a tile layer, markers, popups, layers. Everything else comes from plugins, and there are hundreds.
It is not a map provider but a viewer — you fetch tiles from OpenStreetMap, Mapbox or your own server. The default choice when you want to show a map without pulling in an entire GIS framework. Alternatives: OpenLayers, and MapLibre for vector tiles.