How do I toggle 'draggable' for Google Maps GMarker object? -
I have to make a draggable marker (already done), but in some situations I have to stop draggability should be able. / P>
The marker is designed like this;
var marker = new GMMakers (center, {pullable: true});
... that works fine but I do not understand how it is unnecessary.
like this
var myMarker = new GM marker (center, { Dragable: true}); MyMarker.disableDragging ();
Comments
Post a Comment