The visible marker is not draggable because these lines mess things.
You create three GMarker instances. One is pushed in markers array,
one is added on map and one is made draggable but not added on map.
marker = new GMarker(point);
markers.push(marker);
map.addOverlay(new GMarker(point));
var marker = new GMarker(point, {draggable: true});
Try instead:
var marker = new GMarker(point, {draggable: true});
map.addOverlay(marker);
markers.push(marker);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---