-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Suppose I have an Origin of A and Destination of D with a way point of B and C.
Is it possible to change the stroke color of the waypoint section of the agm-direction.
Something like:
waypoints: [
{
icon: 'your-icon-url',
label: 'marker label',
opacity: 0.8,
polylineOptions: {
strokeColor: '0080ff',
strokeWeight: 6,
strokeOpacity: 0.55
}
},
],
For example could I have :
A -> B (default blue)
B -> C (red)
C -> D (default blue)
I have tried to do multiple directions so that each of the above routes (a -> b, b -> c, c -> d) are its own direction and setting the strokeColor in the renderOptions. But then the markers are not automatically showing as a,b,c,d. Rather they are showing up like this.
Please tell me if such a functionality already exists.
Thanks!
