I am using this code to get directions between two points. Is it possible to change the color of the route from blue? I am not using polyline in my code.
Thanx in ad
you can change the color by changing the stroke color :) as simple as that
directionsService = new google.maps.DirectionsService();
directionsDisplay = new google.maps.DirectionsRenderer({ polylineOptions: { strokeColor: "#8b0013" } });
directionsDisplay.setMap(map);
directionsDisplay.setOptions({ suppressMarkers: true });
calcRoute();