您好每当我尝试引用标记列表的标记时,浏览器每次都会看到标记为未经分类:
**function Change_Marker_Color_In_Array_Delivery(num, markers, dir_end) {
var dir = "icons\\mapiconscollection-markers\\" + dir_end;
Markers_Delivery[num] = new google.maps.Marker({
position: Markers_Delivery[num].getPosition(),
map: map,
icon: dir
});
}
function Change_Marker_Color(marker) {
var dir = 'icons\mapiconscollection-markers\footprint.png';
marker.setIcon(dir);
}**
我试图更改标记图标
使用setIcon是一个unifined whit getPosition(markers [num] .getPosition())或(Markers_Delivery [num] .getPosition())是unifined
奇怪......他们被卡住了