I want to change the color of the line on google map when I serach the root. I want to make it like in the picture. I want to change it from this default picture default line route to line with red color like in this picture color of route. I use Google Maps JavaScript API V3. Is that possible??
Asked
Active
Viewed 4,165 times
1 Answers
0
See answer how to change the color of route in google maps v3
When you create the directionDisplay object
var directionsDisplay = new google.maps.DirectionsRenderer({
polylineOptions: {
strokeColor: "red"
}
});