javascript - Leaflet marker is not draggable even if draggable=true -


i'm using leaflet map markers.

when user clicks "edit" on page, want make markers draggable. if set property draggable true each marker, doesn't work.

when create new marker , set property right beginning, works.

you gotta this:

marker.dragging.disable(); // marker.dragging.enable(); 

my first attempt changes technical property not the behavior.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -