In V2 you have the method GMap2.isLoaded() http://code.google.com/apis/maps/documentation/reference.html#GMap2.isLoaded
though for a mobile application you probably want to use V3, which has its own separate group: http://groups.google.com/group/google-maps-js-api-v3/topics -- Marcelo - http://maps.forum.nu -- On Dec 15, 8:39 am, Stevefu <[email protected]> wrote: > Google documentation shows how to load AJAX api > dynamically:http://code.google.com/apis/ajax/documentation/#Dynamic > > I am developing on the smartphone device in javascript. Sometimes the > internet connection may not be perfect. How can I know if the loading > is failed, so I can write some code to retry? I tried the > "try...catch" in my javascript, no lucky... -- 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.
