diff --git a/src/views/vehicle/car.vue b/src/views/vehicle/car.vue index b99d944..4953a2c 100644 --- a/src/views/vehicle/car.vue +++ b/src/views/vehicle/car.vue @@ -251,7 +251,7 @@ export default { dialogVisible:false, dialogVisibleTwo:false, fences:[], - duration:2000, + // duration:2000, AMap: null, map: null, marker: null, @@ -466,7 +466,7 @@ export default { console.log('开始回放') this.marker.moveAlong(this.lineArr, { // 每一段的时长 - duration: this.duration,//可根据实际采集时间间隔设置 + // duration: this.duration,//可根据实际采集时间间隔设置 // JSAPI2.0 是否延道路自动设置角度在 moveAlong 里设置 autoRotation: true, }); diff --git a/src/views/vehicle/record.vue b/src/views/vehicle/record.vue index 711d618..a7b2f16 100644 --- a/src/views/vehicle/record.vue +++ b/src/views/vehicle/record.vue @@ -7,7 +7,7 @@ export default { props: {}, data() { return{ - duration:2000, + // duration:2000, AMap: null, map: null, historyList:[], @@ -138,7 +138,7 @@ export default { console.log('开始回放') this.marker.moveAlong(this.lineArr, { // 每一段的时长 - duration: this.duration,//可根据实际采集时间间隔设置 + // duration: this.duration,//可根据实际采集时间间隔设置 // JSAPI2.0 是否延道路自动设置角度在 moveAlong 里设置 autoRotation: true, });