Hi Ross,

Thank you once again for the info and lesson. I appriaciate that!
Ok...the getAddress function uses the GLatLng-parameter and then the
showaddressNew-function uses the results.

Have I got that right?

I have tried to update the code but I do not get it to work. I would
appriciate if you could have a look at the code and point me, once
again, in the right direction.
http://www.g8journey.com/map.php

/Nimrod

On 6 Maj, 14:59, Rossko <[email protected]> wrote:
> > So, in that case i send the latlng into geAddress and then provide the
> > response to showadressnew-function?
>
> Yup.
> Remember in the area we're looking at here, "you" don't send anything
> to getAddress, the dragend event listener does that.   Regardless of
> what you call it when you define the function
>    function getAddress(bananas) { ....
> the listener will put a GLatLng as the first parameter to the function
>
> In other parts of your code, you might well want to call getAddress
> 'by hand' of course, let's say your user is happy with the initial
> marker position and doesn't want to drag it anywhere.
>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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