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
At global declarations
var polylineOptionsActual = new google.maps.Polyline({ strokeColor: '#FF0000', strokeOpacity: 1.0, strokeWeight: 10 });
At initialise
function initialize() { directionsDisplay = new google.maps.DirectionsRenderer({polylineOptions: polylineOptionsActual});