Draggable markers in leaflet

...
Hello

I am writing an application where the user delimitates a perimeter by clicking on a leaflet map. I would like to allow him to just drag a marker in case he has made a mistake. However if I correctly read the doc there is no "drag" event in leaflet for shiny so only way for getting the new position of the marker is if the user clicks on the marker after having dragged it and the app catching the click event. But this is awkward and error prone.

Is there a better solution?

Regards

JF Martinez

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.