调整更新的内容
parent
ba6cbe6fdb
commit
227b86ae98
|
@ -133,8 +133,8 @@ export default {
|
|||
})
|
||||
},
|
||||
startAnimation () {
|
||||
// setTimeout(()=>{
|
||||
// AMap.plugin('AMap.MoveAnimation', () => {
|
||||
setTimeout(()=>{
|
||||
AMap.plugin('AMap.MoveAnimation', () => {
|
||||
console.log('开始回放')
|
||||
this.marker.moveAlong(this.lineArr, {
|
||||
// 每一段的时长
|
||||
|
@ -142,8 +142,8 @@ export default {
|
|||
// JSAPI2.0 是否延道路自动设置角度在 moveAlong 里设置
|
||||
autoRotation: true,
|
||||
});
|
||||
// })
|
||||
// },2000)
|
||||
})
|
||||
},2000)
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue