IT lexicon › Web › Leaflet

Leaflet

Web På svenska → Updated: 2026-07-30
More info
Creator
Vladimir Agafonkin
Released
Type
JavaScript library
License
BSD-2-Clause
Website

A lightweight JavaScript library for interactive maps — around 40 kB with almost no dependencies.

Vladimir Agafonkin released it in 2011. The API is deliberately small: a map, a tile layer, markers, popups, layers. Everything else comes from plugins, and there are hundreds.

It is not a map provider but a viewer — you fetch tiles from OpenStreetMap, Mapbox or your own server. The default choice when you want to show a map without pulling in an entire GIS framework. Alternatives: OpenLayers, and MapLibre for vector tiles.

← Back to the lexicon