+
liuyg
2022-01-08 1e9f073cc04b6e3598a15e7dfb5143c41941ab45
+
1 files modified
22 ■■■■ changed files
src/components/mobileCortrolButtom/index.vue 22 ●●●● patch | view | raw | blame | history
src/components/mobileCortrolButtom/index.vue
@@ -36,20 +36,20 @@
      tabTable: [],
      ccData: [
        {
          lnt: 115.86471885,
          lat: 28.74382592,
          lnt: 114.03835559,
          lat: 27.63057034,
        },
        {
          lnt: 115.86711312,
          lat: 28.74315701,
          lnt: 114.03971446,
          lat: 27.62986481,
        },
        {
          lnt: 115.86872136,
          lat: 28.74009846,
          lnt: 114.03841654,
          lat: 27.62919726,
        },
        {
          lnt: 115.87413129,
          lat: 28.743337,
          lnt: 114.039946,
          lat: 27.62847544,
        },
      ],
    };
@@ -69,7 +69,7 @@
    },
    handleCommand(command) {
      let that = this;
      let position = [+command.lnt + 0.01197, +command.lat - 0.0021];
      let position = [+command.lnt + 0.01197, +command.lat + 0.00048];
      console.log(command, "定位");
      // 定位
      // this.$store.commit("MSETCC_SETCC", {
@@ -77,9 +77,9 @@
      // });
      this.$store.dispatch("mapFlyTo", {
        //飞入
        lntLat: [...position, 500],
        lntLat: [...position, 450],
        heading: 0,
        pitch: -45,
        pitch: -90,
        roll: 0,
        noOpen: true,
      });