| | |
| | | }, |
| | | watch: { |
| | | MobileWindowChangeData() { |
| | | //数据更改 |
| | | // this.fullscreenLoading = true; |
| | | if (!this.MobileWindowsHide) { |
| | | // console.log("地图点击弹窗数据请求参数", this.query); |
| | |
| | | } |
| | | ); |
| | | tilesetLayer.addOverlay(tileset); |
| | | // viewer.flyTo(tileset); |
| | | viewer.flyTo(tileset); |
| | | //精细模型↑ |
| | | |
| | | //瀑布流↓ |
| | |
| | | |
| | | tileset.on(DC.MouseEventType.CLICK, (e) => { |
| | | viewer.scene.globe.depthTestAgainstTerrain = false; |
| | | // console.log(e); |
| | | |
| | | // 定制化窗体 |
| | | that.openPopupS(e.position, [e.wgs84Position.lng, e.wgs84Position.lat]); |
| | | that.openPopupS( |
| | | e.position, |
| | | [e.wgs84Position.lng, e.wgs84Position.lat], |
| | | { |
| | | name: e.layer._bid, |
| | | address: e.layer.type, |
| | | introduce: e.layer._id, |
| | | } |
| | | ); |
| | | }); |
| | | |
| | | viewer.compass.enable = false; |
| | |
| | | let d = { |
| | | position, |
| | | lntLat, |
| | | query: { ...(query || {}), introduce: position, address: lntLat }, |
| | | query: { introduce: position, address: lntLat, ...(query || {}) }, |
| | | useJWD: true, //仅使用经纬度 |
| | | }; |
| | | that.$store.dispatch("setMobileWindows", d); |
| | |
| | | font-size: 16px; |
| | | border-radius: 10px 10px 0 0; |
| | | padding: 8px 14px; |
| | | padding-right: 27px; |
| | | overflow: hidden; |
| | | white-space: nowrap; |
| | | text-overflow: ellipsis; |
| | | line-height: 20px; |
| | | box-sizing: border-box; |
| | | } |