> When debugging in Firebug I can see that it steps from line 3 directly
> to line 7, but I have no idea why.
...
> 3 geocoder.getLocations(address, function(response){
> 4 var resultArray = processResponse(response)
> 5 });
> 6 }
> 7 return resultArray;
Yes, it is supposed to do that. getLocations is asynchronous.
See -
http://econym.org.uk/gmap/async.htm
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
-~----------~----~----~----~------~----~------~--~---