| | |
| | | this.$store.commit("MSET_ICONHIDE", !isif); |
| | | }, |
| | | leftNavClick(item) { |
| | | console.log(123132); |
| | | //判断并关闭已开启标签 |
| | | let lnd = this.leftNavData; |
| | | for (let k in lnd) { |
| | |
| | | // console.log(posi); |
| | | let lntLat = |
| | | that.dimensionData.pitch == -45 |
| | | ? [posi.lng + 0.00917, posi.lat - 0.0188, 2100] |
| | | : [posi.lng + 0.00917, posi.lat - 0.0038, 2400]; |
| | | ? [posi.lng + 0.00917, posi.lat - 0.0188, 500] |
| | | : [posi.lng + 0.01197, posi.lat - 0.00055, 500]; |
| | | this.$store.dispatch("mapFlyTo", { |
| | | //飞入 |
| | | lntLat: lntLat, |
| | |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped lang='scss'> |
| | | <style scoped lang="scss"> |
| | | .m-left-nav { |
| | | position: fixed; |
| | | bottom: 30px; |
| | |
| | | data.from == "PopupOurOnce" |
| | | ? +data.lntLat[1] - 0.00108 |
| | | : +data.lntLat[1] - 0.00048, |
| | | data.from == "PopupOurOnce" ? 0 : 90.648862227, |
| | | data.from == "PopupOurOnce" ? 0 : 30.648862227, |
| | | ]; |
| | | } else if (state.dimension == "2.5D") { |
| | | Flys = [ |
| | | +data.lntLat[0] + 0.01197, |
| | | +data.lntLat[1] - 0.00055, |
| | | +data.lntLat[1] + 0.00045, |
| | | // +data.lntLat[1] - 0.0022, |
| | | nowHeight, |
| | | ]; |