<span style="font-size:18px;">Microsoft.Maps.Events.addHandler(map, "mousemove", function (e) {
// get the HTML DOM Element that represents the Map
var mapElem = map.getRootElement();
if (e.targetType === "map") {
// Mouse is over Map
mapElem.style.cursor = "crosshair";
} else {
// Mouse is over Pushpin, Polyline, Polygon
mapElem.style.cursor = "pointer";
}
});
</span>
BingMap改变鼠标样式【Map/Pushpin/Polygon】,布布扣,bubuko.com
BingMap改变鼠标样式【Map/Pushpin/Polygon】
原文:http://blog.csdn.net/jcx5083761/article/details/26402723