ibrierley / flutter_map_dragmarker

A drag marker for flutter_map
BSD 3-Clause "New" or "Revised" License
54 stars 37 forks source link

Support for LongPress to start the drag. #16

Closed eidolonFIRE closed 2 years ago

eidolonFIRE commented 2 years ago
ibrierley commented 2 years ago

Thanks! Will try and get it tested over the next day or so.

eidolonFIRE commented 2 years ago

The separate set of callbacks is because the details type coming from the gesture detector are different.

useLongPress is because I want to my markers to ONLY be draggable if you long press. In my application, it is important that they don't get accidentally moved.

ibrierley commented 2 years ago

Published as 3.1.0 as well