Closed igler closed 7 years ago
This approach is little different from the original design, getting options from attribute individually.
Please try it with route-index
or options
.
Have tried both but they don't make it into the options variable in updateRoute-function (line 740) where I could pick them up.
Have found another solution which does not require any changes on ngMap-code.
I'd like to add options to DirectionsRenderer through an attribute in directions-element. I thought maybe as an object that is passed to the DirectionsRenderer:
In markup:
In code:
The routeIndex is stored in an entity when the user clicks through the different routes. Is that possible?