It sounds like you're not waiting for the google.load() to complete. If you load the maps API "on demand" then it loads asynchronously, and you can't use it until after the code fetch has completed.
If you use the old <script src="http://maps.google.com/maps?file=api...> method to load the API, then it loads synchronously and JS processing doesn't start until after the code has loaded. -- Mike Williams http://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
