On Oct 9, 10:44 am, Mini0n <[EMAIL PROTECTED]> wrote: > Hello again! > > I'm trying to get those damn polylines, but got some issues... > > I have successfully gather the info from the .xml, but the polylines > won't appear. > > Locally it began giving the "a is undefined" error. > > I've uploaded the code tohttp://gmapstest.awardspace.com/but it > might have some differences, as locally I have other things. I believe > I've made the correct changes, making both sites equal, except one is > dynamic (local) and the other is static (gmapstest). > > Can you see something wrong? > It looks like you don't understand the asynchronous nature of GXmlHttp.
You send a request for 1234.xml then before it has completed, you reuse the request object to send a request for 5678.xml. You have to wait for it to be finished before you reuse it. See Mike Williams' explanation in his tutorial: Part 2 Asynchronous I/O http://econym.org.uk/gmap/async.htm -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
