Selaa lähdekoodia

超图定位飞行

彭宇 2 vuotta sitten
vanhempi
commit
b809932595
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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(() => {