Leaflet /Leaflet

🍃 number one JavaScript library for interactive maps 🇺🇦

★ 45,900⑂ 6,212👁 879⑃ 4,876● 5,385▤ 36◈ 184
JavaScriptBSD-2-ClauseCreated 2010-09-22leafletjs.com
45,900
stars
+5
6,212
forks
879
watchers
4,876
prs
5,385
issues
36
releases
184
discussions

README

Leaflet was created in 2010 by Volodymyr Agafonkin, a Ukrainian citizen living in Kyiv.

Russia's full-scale invasion of Ukraine began in February 2022 and is still going. Russian troops have killed tens of thousands of civilians and committed mass war crimes. Missiles and drones still hit Kyiv and other Ukrainian cities day and night.

Leaflet is used for documenting Russia's war crimes, tracking the front line and finding humanitarian aid. The future of Ukraine is the future of Leaflet.

If you'd like to help, donate to Come Back Alive or another charity listed on StandWithUkraine, and keep asking your government to support Ukraine and pressure Russia. Just don't be silent.

Yours truly,
Leaflet maintainers.

---



Leaflet is the leading open-source JavaScript library for building powerful interactive maps.

Weighing just about 40 kB of gzipped JS plus 2.4 kB of gzipped CSS code, it has all the mapping [features][] most developers ever need.

Leaflet is designed with simplicity, performance and usability in mind.
It works efficiently across all major desktop and mobile platforms out of the box,
taking advantage of modern browser features.
It can be extended with a huge amount of [plugins][],
has a beautiful, easy to use and [well-documented][] API
and a simple, readable [source code][] that is a joy to [contribute][] to.

For more info, docs and tutorials, check out the [official website][].
For Leaflet downloads (including the built main version), check out the [install page][].

We're happy to meet new contributors.
If you want to get involved with Leaflet development, check out the [contribution guide][contribute].
Let's make the best mapping library that will ever exist,
and push the limits of what's possible with online maps!

  

 [features]: https://leafletjs.com/features
 [plugins]: https://leafletjs.com/plugins.html
 [well-documented]: https://leafletjs.com/reference.html "Leaflet API reference"
 [source code]: https://github.com/Leaflet/Leaflet "Leaflet GitHub repository"
 [contribute]: https://github.com/Leaflet/Leaflet/blob/main/CONTRIBUTING.md "A guide to contributing to Leaflet"
 [official website]: https://leafletjs.com
 [install page]: https://leafletjs.com/install.html

Top issues

Discussions

Latest release

v1.9.4 v1.9.4 2023-05-18
🐞 Bug fixes

- Fix tile gaps in Chromium-based browsers (8891 by @IvanSanchez)
- Fix vector drifts when zoomAnimation is false and zooming via flyTo or pinch (8794 by @plainheart)
- Ensure toGeoJSON() still works with an empty array (8737 by @Falke-Design)
- Ensure LineUtil and PolyUtil only iterate over array values and not properties (8840 by @Falke-Design)
- Fix rounding errors in center calculation of LineUtil and PolyUtil for small layers (8784 by @Falke-Design)
- Prevent unwanted layer toggle while expanding the Layers control on mobile (8910 by @Falke-Design)
- Fix an error when

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON