| | |
| | | <i class="el-icon-refresh"></i> |
| | | </div> |
| | | <div class="m-l-inbut" @click="goOns"><i class="el-icon-location"></i></div> |
| | | <div class="m-l-inbut" @click="openOurSee"> |
| | | <i class="el-icon-map-location"></i> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | }, |
| | | computed: { |
| | | ...mapGetters([ |
| | | "mviewer", |
| | | "openmobileGoTo", |
| | | "dimensionData", |
| | | "startPointFn", |
| | | // "startPointFn", |
| | | "dimension", |
| | | ]), |
| | | }, |
| | |
| | | }, |
| | | mounted() {}, |
| | | methods: { |
| | | openOurSee() { |
| | | this.$store.commit( |
| | | "MSET_OPENMOBILEPANORAMA", |
| | | "http://vr.jxpskj.com/lxxqw/" |
| | | ); |
| | | }, |
| | | goOns() { |
| | | let that = this; |
| | | this.$store.commit("GET_NOWPOSITION", (res) => { |
| | | that.$store.dispatch("pcMoveView", { |
| | | jd: res[0], |
| | | wd: res[1], |
| | | viewer: that.mviewer, |
| | | viewer: global.viewer, |
| | | }); |
| | | |
| | | let data = [ |
| | |
| | | that.$store.dispatch("addLabelLayerIconMobelUse", { |
| | | list: data, |
| | | clear: true, |
| | | mviewer: that.mviewer, |
| | | mviewer: global.viewer, |
| | | }); |
| | | }); |
| | | }, |
| | |
| | | // } |
| | | // return; |
| | | // } |
| | | this.startPointFn(); |
| | | window.startPointFn(); |
| | | }, |
| | | openActivity() { |
| | | const d = { |
| | |
| | | // roll: 0, |
| | | // noOpen: true, |
| | | // }); |
| | | that.mviewer.camera.setView({ |
| | | global.viewer.camera.setView({ |
| | | // Cesium的坐标是以地心为原点,一向指向南美洲,一向指向亚洲,一向指向北极州 |
| | | // fromDegrees()方法,将经纬度和高程转换为世界坐标 |
| | | // eslint-disable-next-line new-cap |