Leaflet.js is an open-source JavaScript library for mobile-friendly interactive maps. It’s designed to be lightweight, simple to use, and performs well across all major desktop and mobile platforms.

The library is commonly used with OpenStreetMap data but supports various map tile providers and can be extended with numerous plugins.

Features

  • Mobile-friendly by design
  • Lightweight (~39 KB of JS)
  • Simple API
  • Good performance
  • Customizable with plugins
  • Well-documented

Resources

Leaflet β€” an open-source JavaScript library for interactive maps

Leaflet is a modern, lightweight open-source JavaScript library for mobile-friendly interactive maps.