web-maps-leaflet

Installation
SKILL.md

Leaflet Interactive Map Patterns

Quick Guide: Leaflet is a small 2D mapping library: L.map initializes against a DOM element, L.tileLayer supplies the base map, and everything drawn on top — markers, popups, GeoJSON, controls — is a layer added to and removed from the map independently. L.geoJSON does most of the data work through its pointToLayer, onEachFeature, style and filter callbacks. Marker count is the decision that shapes the rest: past a hundred, DOM markers stop scaling and the work moves to clustering or the canvas renderer. Current: v1.9.4, with types in @types/leaflet.

Detailed Resources:

  • examples/core.md — map setup, tile providers, markers and icons, GeoJSON, layer groups and control, events
  • examples/advanced.md — custom controls, clustering, TypeScript, canvas rendering, bounds and viewport
  • reference.mdL.map methods, L.geoJSON and cluster options, event table, install checklist

<critical_requirements>

Installs
13
GitHub Stars
24
First Seen
Jul 25, 2026
web-maps-leaflet — agents-inc/skills