directions = new GDirections(map, directionsPanel);
directions2 = new GDirections(map, directionsPanel);
directions.loadFromWaypoints(sortingcity[i],
{getPolyline:true,getSteps:true});
delay(10000000);
directions2.loadFromWaypoints(sortingcity[i],{getPolyline:true,
getSteps:true});

--------------------------------------------------------------------------------------------------------------------
if i want run directions.load......first
and then delay function...............directions2....


but i notice that the program will run delay function first!!!!
and when the program finished...it start to run directions.......

how can i solve this problem???

or how can i show the rounting result step by step??

for example

the map show the line from city a to city b

and wait 10s

the map show the line from city a , city b, to city c...and so on!!!!!

please someone give me some ideas!!!> <

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