OSS TanbouSign in with GitHub

combine tile layers, markers, vectors, popups, and events to build mobile-friendly interactive maps

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
45,704
Primary language
JavaScript
License
BSD-2-Clause
Repository last updated
Oct 5, 2026
On this page

Overview

Leaflet is a JavaScript library for mobile-friendly interactive maps with a compact API for map views, tile layers, markers, vectors, popups, and events.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Key features

Initialize a map from coordinates and a zoom level

L.map(...).setView([lat, lng], zoom) creates the interactive map.

Sources: [2]

Add tile layers, markers, vectors, and popups

Choose a tile provider and add markers, shapes, and popups as layers.

Sources: [2][1]

Best fit

Fits lightweight location and facility map UIs

The focused API works well for store locators, facility maps, and other interactive location screens.

Sources: [1][2]

Before adoption

Check CSS, container height, and tile provider terms

Leaflet CSS and an explicit map-container height are required, while tile attribution and usage policies remain provider responsibilities.

Sources: [2]

Official sources

  1. [1]Leaflet v1.9.4 README(2026-10-05)
  2. [2]Leaflet v1.9.4 Quick Start Guide(2026-10-05)
  3. [3]Leaflet v1.9.4 package metadata(2026-10-05)
  4. [4]Leaflet v1.9.4 release(2026-10-05)
Supplemental curator note

Leaflet is a focused choice for store locators, facility maps, and other interactive location UIs. Tile attribution and usage policies remain provider responsibilities.

Try it in 3 steps

  1. 1

    Get the source

    git clone --depth 1 https://github.com/Leaflet/Leaflet.git
  2. 2

    Enter the repository

    cd Leaflet
  3. 3

    Check the official steps

    Continue with the commands in the README Installation, Quick Start, or Getting Started section.

    find . -maxdepth 1 -iname 'README*' -exec sed -n '1,220p' {} \; -quit
Check the official README

Growth

Growth trends · Last 30 days

45,704 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
2
Open PRs
190

Development activity is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • javascript
  • leaflet
  • maps
Stars
45,704
Forks
6,178
Watchers
891
Open issues
402
Contributors
382
Owner type
Organization
Primary language
JavaScript
Repository last updated
Oct 5, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?