translateMarker的rotate的数据与实际角度不一样
截图:
实际角度:
mapCtx.translateMarker({
markerId: 0,
autoRotate: true,
rotate: parseInt(ang),
duration: 5000,
destination: {
latitude: lat,
longitude: lng,
},
animationEnd() {
console.log('end ')
}
})
截图:
实际角度:
mapCtx.translateMarker({
markerId: 0,
autoRotate: true,
rotate: parseInt(ang),
duration: 5000,
destination: {
latitude: lat,
longitude: lng,
},
animationEnd() {
console.log('end ')
}
})