liuyg
2021-12-23 c333c671ef1541171c96d11b0266fdc0237665c8
src/components/mobileCortrolButtom/index.vue
@@ -69,14 +69,15 @@
    },
    handleCommand(command) {
      let that = this;
      let position = [+command.lnt + 0.01197, +command.lat - 0.0021];
      console.log(command, "定位");
      // 定位
      this.$store.commit("MSETCC_SETCC", {
        lntLat: [command.lnt, command.lat],
      });
      // this.$store.commit("MSETCC_SETCC", {
      //   lntLat: position,
      // });
      this.$store.dispatch("mapFlyTo", {
        //飞入
        lntLat: [command.lnt, command.lat, 500],
        lntLat: [...position, 500],
        heading: 0,
        pitch: -45,
        roll: 0,