我想根據必應地圖上的標題旋轉我的pushPin(標記)。 代碼是:如何使用BING MAPS中的標題旋轉圖釘?
var location = new Microsoft.Maps.Location(data[index].latitude, data[index].longitude);
var pushpinOptions = {
icon: "/images/carMarker.png",
width: 50,
height: 50,
anchor: new Microsoft.Maps.Point(10, 40),
typeName: 'carMarker'
};
map.entities.remove(carPin);
carPin = new Microsoft.Maps.Pushpin(location, pushpinOptions);
map.entities.push(carPin);
我能夠在地圖上畫出標記,但我無法旋轉標記。請任何人幫忙。謝謝。
關於openlayer動畫的問題已經固定了的jsfiddle演示http://stackoverflow.com/questions/20410175/drawing-animated-openlayers-linestring-path/20481018?noredirect=1#comment58636849_20481018 –