You'd need to add a button that the user could click to indicate that
the route was finished. When the user clicks that button, run through
the waypoints[] array and collect the
        waypoints[i].getPoint().toUrlValue()
information, and send it to a server to be stored on your database.

At some point (probably best when you read it back, rather than when you
save it) you'll want to check whether there are more than 25 waypoints,
and if so, slice it into sections that can be processed with
.loadFromWaypoints[waypoints].

The original code treats each segment as a separate route, but you don't
really want to do that when you display the route because of the
GDirections speed limit.

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