I would like to have support for rendering all routes returned by DirectionsService.route method when DirectionsRequest.provideRouteAlternatives is true.
This feature must not "interfere" with the current functionality.
Would be nice to have the option to style PolyLine color (selected route vs non-selected route), but is just a nice-to-have. Blue and gray defaults would suffice.
I should be able to select a non-selected (gray) route and trigger an OnRouteSelected event.
I should be able to modify the selected (blue) route (DirectionsRendererOptions.Draggable = true) and trigger an OnRouteChanged event.
Futhermore, the DirectionsRenderer and DirectionsService objects, should be decoupled and the DirectionsResponse object should not have to "travel" from C# to Javascript. Should be an IJsObjectRef that only requires the Guid to "travel" e,g, GoogleMapsComponents.Maps.Map.
I would like to have support for rendering all routes returned by
DirectionsService.route
method whenDirectionsRequest.provideRouteAlternatives
is true. This feature must not "interfere" with the current functionality. Would be nice to have the option to stylePolyLine
color (selected route vs non-selected route), but is just a nice-to-have. Blue and gray defaults would suffice. I should be able to select a non-selected (gray) route and trigger anOnRouteSelected
event. I should be able to modify the selected (blue) route (DirectionsRendererOptions.Draggable = true
) and trigger anOnRouteChanged
event.Futhermore, the
DirectionsRenderer
andDirectionsService
objects, should be decoupled and theDirectionsResponse
object should not have to "travel" from C# to Javascript. Should be anIJsObjectRef
that only requires theGuid
to "travel" e,g,GoogleMapsComponents.Maps.Map
.