如何在谷歌地图 api 中更改方向线的颜色我检查了 gdriection,但没有关于颜色的内容这是我的代码
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;
}
谢谢