offset
使用offset实现偏移
var marker = new AMap.Marker({
position: [type.longitude, type.latitude],
map: that.map,
offset: new AMap.Pixel(-34, -93),
extData: type,
extData2: item,
icon: new AMap.Icon({
image: that.filterData(type.spotType),
imageSize: new AMap.Size(68, 93),
size: new AMap.Size(68, 93)
})
});