Closed Dhinesh-Dhinesh closed 2 years ago
Hello,
I'm afraid this is not an issue. The keepAtCenter
function works as it is supposed to. As stated in the documentation, this library was inspired from leaflet-drift-marker and react-leaflet-rotatedmarker. You can also check out their documentation examples, I suggest this one here https://codesandbox.io/s/react-leaflet-drift-markerv3-nxzht?fontsize=14&hidenavigation=1&theme=dark&file=/src/index.js , the newer version of leaflet-drift-marker library.
I am trying to toggle keepAtCenter but it's not working, Stucked on the marker position i can't move the map
here is my code: