Asynchronous as opposed to synchronous... Synchronous events happen sequentially, asynchronous events occur independently.
The events inside your function are not happening sequentially in the code, so by the time you're testing the results of the function, events inside it haven't occurred yet. This is because the events inside the function are dependent on the results of a call to Google's server. I suggest you read Mike Williams tutorial on the subject. -John Coryat http://maps.huge.info http://www.usnaviguide.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
