I love you man! I've FINALLY managed to make what I wanted... =) Had to create a function to handle the data returned by the xml file and set a small timeout for it to execute.
You can see the code here: http://gmapstest.awardspace.com/3.php I believe that everything is fine now! Many many thanks you guys for your help! Really appreciate it! =) On Oct 27, 1:21 pm, Rossko <[EMAIL PROTECTED]> wrote: > > If I put dirn.loadFromWaypoints(points[i], {getPolyline:true}); inside > > the loop for each point read, then the GEvent.addListener(dirn,"load", > > function()) won't work... > > Why would you do that? As the dirn.loadFromWaypoints() wants to use > the array points[], why wouldn't you put it just AFTER the read-each- > point loop when the array has been fully populated? > > cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
