leaflet-edit-osm

a button to edit osm on leaflet maps

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.