Drag events not triggering for both layers when vertex are pinned
MonfretAugustin opened this issue · comments
Hello,
I've encountered an issue with the pinning feature in Geoman. When two vertex are pinned together with pinning enabled, drag events (pm:markerdrag
, pm:markerdrahgstart
, pm:markerdragend
) are only triggered for the vertex on the top layer. However, the pm:edit
event is correctly triggered for both layers.
I am unsure if this behavior is intended or a bug. For our application, it's crucial to detect which vertex (identified by indexPath
) has moved on each layer to perform additional computations.
Any workarounds or suggestions you could provide would be greatly appreciated !
Thanks !
Thank you for reporting. The fix will be released with the next version.