Download Latest Version 2.16.0 source code.zip (280.9 kB)
Email in envelope

Get an email when there's a new version of leaflet-geoman

Home / v0.10.2
Name Modified Size InfoDownloads / Week
Parent folder
Marker Drag Events source code.tar.gz 2016-09-29 53.6 kB
Marker Drag Events source code.zip 2016-09-29 72.6 kB
README.md 2016-09-29 460 Bytes
Totals: 3 Items   126.6 kB 0

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).

Source: README.md, updated 2016-09-29