github geoman-io/leaflet-geoman v0.10.2
Marker Drag Events

ADDED: Two new Events are added to determine when the marker of a polygon-vertex is being dragged (start and stop).

From the readme:

// listen to when a marker of a polygon-vertex is being dragged
polygonLayer.on('pm:markerdragstart', function(e) {//...});
polygonLayer.on('pm:markerdragend', function(e) {//...});

FIXED: With active dragging, a single click on a polygon now doesn't trigger the pm:dragend and pm:edit events anymore (#84).

latest releases: 2.11.2, 2.11.1, 2.11.0...
4 years ago