> Question: Should I use GEvent.addListener(marker, "dragend",
> getAddress ) so that the function getAddress is called when the marker
> not is dragged anymore?

Yes ... but ..

>    function getAddress(overlay, latlng) {

Referring to Mike's handy reference to GMaps API Events
    http://econym.org.uk/gmap/gevent.htm
a 'dragend' event on marker supplies only one parameter which is a
Glatlng.
You need to alter your getAddress() to deal with that, it currently
tries to use a second parameter which doesn't exist.


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