i\'ve integrated a map and i want to display the route directions between two locations. everything is working fine and the directions is displayed perfectly , but i want to cha
In answer marked as resolved I see that object Polyline used for polylineOptions. In my case I use the next code
new google.maps.DirectionsRenderer({ suppressMarkers: true, polylineOptions: { strokeColor: '#5cb85c' } });
The difference is that I assign polylineOptions, not Polyline object. Not sure it could be helpful, but decided to add these answer.