a button to edit osm on leaflet maps

npm install leaflet-edit-osm
1 downloads in the last week
4 downloads in the last month

leaflet edit osm

Adds a button to any Leaflet map that lets users jump to OpenStreetMap to edit the map data.


new leafletEditOsm().addTo(map)


new leafletEditOsm().addTo(map)

Adds a control to the map. leafletEditOsm is a subclass of L.Control, so accepts the same basic options.

npm loves you