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