| | |
| | | }, |
| | | methods: { |
| | | selectDuo() { |
| | | this.loading1 = true |
| | | // console.log(2115); |
| | | if (this.chosee === 1) { |
| | | this.$message.warning('请先在左侧选择无人机时间') |
| | | return |
| | | } else { |
| | | // console.log('132123'); |
| | | this.loading1 = true |
| | | } |
| | | if (this.view) { |
| | | this.view.removeAllLayers() |
| | |
| | | if (lng < 70 || lng > 150 || lat > 60 || lat < 20) { |
| | | return true |
| | | } |
| | | lng = GPS.gcj_encrypt(lat, lng).lon |
| | | lat = GPS.gcj_encrypt(lat, lng).lat |
| | | lng = GPS.bd_encrypt(lat, lng).lon |
| | | lat = GPS.bd_encrypt(lat, lng).lat |
| | | // lng = GPS.gcj_encrypt(lat, lng).lon |
| | | // lat = GPS.gcj_encrypt(lat, lng).lat |
| | | // lng = GPS.bd_encrypt(lat, lng).lon |
| | | // lat = GPS.bd_encrypt(lat, lng).lat |
| | | // lng = GPS.bd_decrypt(lat, lng).lon |
| | | // lat = GPS.bd_decrypt(lat, lng).lat |
| | | var point = new BMapGL.Point(lng, lat) |