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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -