Hi! I have this idea of comparing the duration of a trip with other and let a functions display them, shortest to longets?
How could i do that? I use this to draw and calculate the distance, but not the duration. This is only done for one marker, User location is set as start, and the user specifies the end. So basicly, Map loads, sets start location as by geocoding user location, then fins all markers that are 11,5 kilometers from that point. User sets end location. Now we have start end, and multiple waypoints. But trip is always start - one of the waypoints - end Therefore i need to calculate the trips duration from. start - waypoint 1 - end start - waypoint 2 - end start - waypoint 3 - end and so on.. then with the duration sort from shortest to longest. Any1 have even a clue or had the similiar problem? would love to hear your ideas. I know duration is calculated after everything is done, so i need to do that somehow?! Cheers Carl -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
