Loop through the GRoutes. Look at the first GStep in each GRoute and use 
.getPolyLineIndex() to find out which part of the polyline corresponds 
to each GRoute.

Copy the points for each GRoute out of the polyline, using .getVertex() 
and create an array of polylines just like the one that you had when the 
user was creating the route.

Remember that you'll need to set {getSteps:true} to obtain the GSteps if 
you're not displaying a directions panel.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


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