# Leaflet

> The leading open-source JavaScript library for interactive maps

Source: https://talira.ai/catalog/leaflet-488ac9nv
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [location / maps / web libraries](https://talira.ai/categories/location/maps/web-libraries)
- Licence: BSD-2-Clause[^1]
- Pricing: Free and open source
- Free tier: yes
- Plugins: yes[^2]
- Backed by: [Leaflet](https://talira.ai/orgs/leaflet.md)
- Creator: Volodymyr Agafonkin

Leaflet is a lightweight open source JavaScript library for interactive web maps, about 40 KB of JavaScript. It shows raster tile layers such as OpenStreetMap, with markers, popups and tooltips, polylines, polygons and circles drawn as SVG or Canvas, and image, video and SVG overlays. Maps pan smoothly with inertia, zoom with the wheel, pinch, double tap or shift-drag, work with mouse, touch and pen on desktop and mobile, stay sharp on high-DPI screens and are styled with plain CSS. It supports custom projections and non-geographical maps for floor plans, games or images, keyboard navigation and accessible controls, and a large ecosystem of plugins adds clustering, drawing, heatmaps, routing and more. It's free under the BSD-2-Clause licence; Leaflet 2.0 is in beta.

## Links

- Website: https://leafletjs.com/
- GitHub: https://github.com/Leaflet/Leaflet
- Docs: https://leafletjs.com/reference.html

## Problems it solves

- add an interactive map with markers and popups to my website
- show OpenStreetMap tiles on a web page without paying for Google Maps
- a lightweight JavaScript map library that works on mobile
- draw polygons, routes and circles on a web map
- an interactive map of a floor plan, game world or large image
- display GeoJSON data on a map in the browser

## Features

- Tile layers such as OpenStreetMap
- Markers, popups and tooltips
- Polylines, polygons and circles in SVG or Canvas
- Image, video and SVG overlays
- Smooth panning and pinch, wheel and double-tap zoom
- Mouse, touch and pen support
- Zoom, layers, scale, fullscreen and attribution controls
- High-DPI rendering and fractional zoom
- Custom projections and non-geographical maps
- Keyboard navigation and accessible controls
- Plugin ecosystem
- About 40 KB of JavaScript

## Capabilities

- Takes plugins: plan not known

## Trust

Overall: 0.80 out of 1.
Signals: maintenance 1.00, adoption 0.93, momentum 0.72, community 1.00, backing 0.50, extensibility 0.20.

- last commit 5 days ago
- 422 commits in the last 90 days
- latest release v1.9.4 3.5 years ago
- 46.0k GitHub stars
- 1088 contributors
- accepts sponsorship (Github, Open Collective)
- has a company behind it
- created by Volodymyr Agafonkin
- has a plugin system

## Alternatives

- [Mapbox](https://talira.ai/catalog/mapbox-p6shz4ss.md): Maps, navigation, search and location data for developers
- [Google Maps Platform](https://talira.ai/catalog/google-maps-platform-p8j2nf1j.md): Google's maps, routes, places and geospatial APIs for developers
- [OpenLayers](https://talira.ai/catalog/openlayers-vbzwsnn3.md): High-performance JavaScript library for interactive web maps
- [MapLibre GL JS](https://talira.ai/catalog/maplibre-gl-js-b8rfna0x.md): Open-source TypeScript library for interactive vector tile maps in the browser
- [Mapbox GL JS](https://talira.ai/catalog/mapbox-gl-js-ah0myx05.md): JavaScript library for interactive vector maps with Mapbox
- [mapcn](https://talira.ai/catalog/mapcn-kprn7y3b.md): Free, customisable map components for React, built on MapLibre GL and styled like shadcn/ui

## Sources

[^1]: https://github.com/Leaflet/Leaflet/blob/main/LICENSE (checked 25 Nov 2026)
[^2]: https://leafletjs.com/plugins.html (checked 25 Nov 2026)
