Hi, I am calling the directions API to draw a route. If I set provideRouteAlternatives: true, I want to display all the alternative routes that are returned. I know that this has something to do with setting the route index - but am completely lost in how to do this. I don't want to hard code anything and I want to show all the alternative routes as polylines (can be any number) that are returned. How do I do this? Thanks
-- 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.
map.js
Description: JavaScript source
