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