Wasn't it Douglas Nogueira who wrote:
>I want to know if this gonna work inside javascript code:
>
> var geocoder = new GClientGeocoder();
> var latLng = geocoder.getLatLng(address,
>function(point) { } );
geocoder.getLatLng() returns as soon as it has sent the request and
returns nothing, so your latLng variable will always be void.
Inside your callback function, when the reply comes back from the
server, "point" will contain the GLatLng. Whatever you want to do with
that information must be performed inside the callback function, or in
functions called from there.
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---