There's nothing you can do to cause the information to become available until after the reply has come back from the server.
The whole purpose of the callback is that other parts of your code can continue executing after the request has been sent, as long as they don't need the results from the reply. You need to arrange for all the code that requires the information from the reply to be called from inside the callback, so that it only gets executed after the reply has been received. If that's not clear, see: http://econym.org.uk/gmap/async.htm -- 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 -~----------~----~----~----~------~----~------~--~---
