I too have never seen more than 3 alternate routes returned and if you add a 
waypoint you will only ever get one route returned.   I don't believe these 
limits are documented and so could change in future releases of the API.

To get around the no alternatives with waypoints restriction I call the 
directions service service for each leg of the route and have an array of 
direction rendererers.  However I have now found that it is difficult to 
determine which of the alternate routes the user has selected - the 
directions_changed event is not driven when a user selects an alternate 
route - only when they drag the route (which causes the other alternates to 
disappear)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/5d7QEnpwqo0J.
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.

Reply via email to