Hi,
Need to show the route with two different colors for distance covered and distance remaining on map, but facing some challenges to show multi colors on route.
Below sample code I am using with RouteLayer,
defaultSymbols: {
directionLines: {
type: "simple-line",
color: [256, 256, 256, 256],
width: 3,
cap: "round",
join: "round"
},
directionPoints: null,
routeInfo: null,
}
If we have any sample CODE/URL/Approach, please suggest.
Thanks in advance.