leaflet-edit-osm

a button to edit osm on leaflet maps

npm install leaflet-edit-osm
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.

example

new leafletEditOsm().addTo(map)

api

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