Closed 8Duke8 closed 2 years ago
Do you mean you want them to anti-rotate to the map (so always upright), or rotate with the map (so the marker would not be upright)?
I am sorry. Yeah, I need them always upright.
Ok, have added the option rotateMarker and bumper version to 1.1.0. Default is on, so it rotate opposite to the map rotation.
@ibrierley it seems it is working correctly. It is exactly what I needed. Thanks a lot for the quick implementation. ;-)
You're welcome, thanks for the feedback.
@ibrierley one more question. Is there a way how to easily set the DragMarker to not be draggable at all? I can always use the original Marker, but a draggable boolean could come in handy :-). I would appreciate any tips. Thanks in advance.
There's no current easy way. One could probably swap out the gesturedetector in the code based on a toggle, but I'm not sure if there would be any odd unintended consequences doing it like that.
@ibrierley thanks anyway
Is there a way how to achieve rotatable draggable markers similarly like the original flutter_map markers that have rotate boolean property? I need draggable map markers to automatically rotate on map rotation.