【发布时间】:2013-09-23 04:20:11
【问题描述】:
以下是旋转标记的代码,以及如何旋转自定义标记。有什么想法吗?
var angleDegrees = 150;
new google.maps.Marker({
position: a,
map: map,
icon: {
path: google.maps.SymbolPath.FORWARD_CLOSED_ARROW,
scale: 6,
fillColor: "red",
fillOpacity: 0.8,
strokeWeight: 2,
rotation: angleDegrees //this is how to rotate the pointer
}
});
【问题讨论】:
标签: google-maps