| | |
| | | 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, |
| | | }, |
| | | ], |
| | | }; |
| | |
| | | }, |
| | | 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", { |
| | |
| | | // }); |
| | | this.$store.dispatch("mapFlyTo", { |
| | | //飞入 |
| | | lntLat: [...position, 500], |
| | | lntLat: [...position, 450], |
| | | heading: 0, |
| | | pitch: -45, |
| | | pitch: -90, |
| | | roll: 0, |
| | | noOpen: true, |
| | | }); |