If the user is clicking a Save button then you can just retrieve the current value from the Directions renderer object - Rend.getRouteIndex().
What is missing from the API is a notification of when the user selects an alternative route. -- 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/-/6iZegoWW63wJ. 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.
