Leaflet logo


JavaScript library for mobile-friendly interactive maps

What is Leaflet?

Leaflet is an open source JavaScript library for mobile-friendly interactive maps. It is developed by Vladimir Agafonkin of MapBox with a team of dedicated contributors. Weighing just about 30 KB of gzipped JS code, it has all the features most developers ever need for online maps.
Leaflet is a tool in the Mapping APIs category of a tech stack.
Leaflet is an open source tool with 36.2K GitHub stars and 5.5K GitHub forks. Here’s a link to Leaflet's open source repository on GitHub

Who uses Leaflet?

643 companies reportedly use Leaflet in their tech stacks, including Strava, GrubHub, and Foursquare.

566 developers on StackShare have stated that they use Leaflet.

Leaflet Integrations

Pros of Leaflet
Light weight
Evolutive via plugins
Strong community
Choice of map providers
Easy API
Alternative to Google Maps
Decisions about Leaflet

Here are some stack decisions, common use cases and reviews by companies and developers who chose Leaflet in their tech stack.

Which will give a better map (better view, markers options, info window) in an Android OS app?

Leaflet with Mapbox or Leaflet with OpenStreetMap?

See more

Blog Posts


Leaflet's Features

  • Tile layers
  • Drag panning with inertia
  • Scroll wheel zoom
  • Multi-touch zoom
  • Zoom animation
  • Hardware acceleration on iOS
  • Smart polyline/polygon rendering

Leaflet Alternatives & Comparisons

What are some alternatives to Leaflet?
An opensource javascript library to load, display and render maps from multiple sources on web pages.
Google Maps
Create rich applications and stunning visualisations of your data, leveraging the comprehensiveness, accuracy, and usability of Google Maps and a modern web platform that scales as you grow.
OpenStreetMap is built by a community of mappers that contribute and maintain data about roads, trails, cafés, railway stations, and much more, all over the world.
We make it possible to pin travel spots on Pinterest, find restaurants on Foursquare, and visualize data on GitHub.
Leaf is a Machine Intelligence Framework engineered by software developers, not scientists. It was inspired by the brilliant people behind TensorFlow, Torch, Caffe, Rust and numerous research papers and brings modularity, performance and portability to deep learning. Leaf is lean and tries to introduce minimal technical debt to your stack.
See all alternatives

Leaflet's Followers
966 developers follow Leaflet to keep up with related blogs and decisions.