On Feb 25, 9:57 am, Adonis <[email protected]> wrote: > Thanks, i will divide the steps and add some delaying then.
No, don't do that. Use the callback function, as it's designed. The callback function is run when the data is returned, and everything you need to do with the data must be done within that callback function. Delays are *not* the way to deal with asynchronous functionality -- either they are longer than they need to be (which doesn't help the user experience) or they are too short (and things will go wrong). -- 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.
