>         map.addOverlay(new GMarker(point, {draggable: true}));

You can't attach anything to that newly-created marker, because you
have no reference to get a hold of it.

         var somemarker = new GMarker(point, {draggable: true});
         map.addOverlay(somemarker);
and whatever else you would like to do to that marker, for instance
add a listener
         GEvent.addListener(somemarker, ....


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to