Weighing just about 39 KB of JS,
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,
can be extended with lots of plugins,
has a beautiful, easy to use and well-documented API
and a simple, readable source code that is a joy to
Here we create a map in the 'map' div, add tiles of our choice, and then add a marker with some text in a popup:
Very nice default design for markers, popups and map controls
Retina resolution support
Pure CSS3 popups and controls for easy restyling
Image- and HTML-based markers
A simple interface for custom map layers and controls
Custom map projections (with EPSG:3857/4326/3395 out of the box)
Powerful OOP facilities for extending existing classes
Hardware acceleration on mobile makes it feel as smooth as native apps
Utilizing CSS3 features to make panning and zooming really smooth
Smart polyline/polygon rendering with dynamic clipping and simplification makes it very fast
Modular build system for leaving out features you don't need
Tap delay elimination on mobile
Safari for iOS 7+
Chrome for mobile
Firefox for mobile
IE10+ for Win8 devices
No external dependencies
If you find some feature really missing in Leaflet, first check if there's a plugin for it
and if it's been discussed before already on GitHub issues.
If not, please open a new GitHub issue.
Let's create the best mapping library in the world!
Leaflet was originally created by Vladimir Agafonkin,
but is now developed by a big community of contributors.
Pull requests are always welcome.
However, there are many more ways to get involved with the development of Leaflet.