On Oct 6, 8:39 am, Mini0n <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> I'm trying to get some coordinates from a database, insert them into a
> XML file and them show them on the map, snapped to the nearest road.
>
> The thing is I am having problems because the asynchronous thing.
>
> What's the best option to avoid/step over it?
>
> I read setTimeout is not the best choice, but even that I'm unable to
> make work... =(

Use the callback function to process the returned data.

>
> I'm doing this locally, so there's no link to a website. =/

Good luck...


--~--~---------~--~----~------------~-------~--~----~
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