Dragging Pins

2 messages Options
Embed this post
Permalink
Mike L

Dragging Pins

Reply Threaded More More options
Print post
Permalink
It seems like I am able to drag the pins on my map to a new location.  How can I "lock" them so that I don't accidentally move them.
The Map Commissioner

Re: Dragging Pins

Reply Threaded More More options
Print post
Permalink
Hi Mike,

Even if you drag the pins, they will not stay where you drag them to - the next time the map is loaded it will return them to the original locations.

That being said - if you want to eliminate the ability for a user to drag the pins, your best bet is to recreate the map to load in KML/KMZ instead of JavaScript.  Here's the deal...

In the last step of the map creation process (step 5) you have a choice with regard to the way in which your map will load.  If you choose "via KML/KMZ" your pins will be static (the user will not be able to drag/drop them).  If you choose JavaScript, the user will be able to move the pins.  

Hope this helps!