node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »


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.