I am trying to customize the color of the direction line in Google Maps API. I have checked the documentation, but couldn't find any information on changing the color. Below is my code:
function direction()
{
var txtAddress = document.getElementById("<%=txtAddress.ClientID %>");
var address = txtAddress.value;
var TextBox1 = document.getElementById("<%=TextBox1.ClientID %>");
var address1 = TextBox1.value;
directions = new GDirections(map, directionsPanel);
directions.load("from: " + address1 + " to: " + address + "");
// var address =txtAddress.value + " " + TextBox3.value;
}
Any suggestions on how to change the color of the direction line would be greatly appreciated. Thank you!