You are right, I am using V3.

What I like is something that catch on fail of appendChild, so the
retry code can be driven by it. I do not know how long the appendChild
method will take, so there is chance that I double load the API. Not
sure how bad it would be.

Even if the V3 has something like isLoaded, it would not do that.


On Dec 15, 12:00 am, Marcelo <[email protected]> wrote:
> In V2 you have the method 
> GMap2.isLoaded()http://code.google.com/apis/maps/documentation/reference.html#GMap2.i...
>
> 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.


Reply via email to