소스 검색

超图定位飞行

彭宇 2 년 전
부모
커밋
b809932595
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/supermap.vue

+ 1 - 1
src/components/supermap.vue

@@ -783,7 +783,7 @@ export default {
     },
     dropLocation: function(lat, lng) { //落点定位
 
-      this.map.flyTo([lat, lng], 14)
+      this.map.flyTo([lat, lng], 14,{duration:1})
 
       // this.controlLevel(12)
       // setTimeout(() => {