更新历史轨迹
parent
66a6337e73
commit
89ce3bb6e1
|
@ -59,6 +59,7 @@ export default {
|
|||
historyMap(this.recordCar).then(res=>{
|
||||
this.recordCarList = res.data; // 将获取到的对象集合存储到data中
|
||||
console.log(this.recordCarList)
|
||||
this.currentObject = {}
|
||||
this.startDisplay(); // 开始展示
|
||||
let coordinates = res.data.map(obj => [
|
||||
parseFloat(obj.longitude.replace(/"/g, "")),
|
||||
|
|
Loading…
Reference in New Issue