| | |
| | | new Cesium.Cesium3DTileset({ |
| | | name: res.cnName, |
| | | url: modelUrl + "/tileset/m/SN/tileset.json", |
| | | maximumScreenSpaceError: 64, // 最大屏幕空间错误:16 |
| | | maximumScreenSpaceError: modelUrl.indexOf("/pnts/") > -1 ? 16 : 64, // 最大屏幕空间错误:16 |
| | | maximumMemoryUsage: 768, // 最大内存:512 |
| | | dynamicScreenSpaceError: true, // 减少离相机较远的屏幕空间错误:false |
| | | skipLevelOfDetail: true, // 在遍历时候跳过详情:false |
| | |
| | | start = html.lastIndexOf(tab) + tab.length + 1; |
| | | end = html.indexOf("</td>", start); |
| | | var gid = html.substr(start, end - start); |
| | | |
| | | if (gid && tab) { |
| | | this.$store.state.pickoption = { |
| | | gid: gid, |
| | | name: tab.replaceAll("_", "") |
| | | } |
| | | |
| | | if (tab == 'm_surface_deformation_data') { |
| | | this.$store.state.surfaceDeForm.flag = true; |
| | | this.$store.state.surfaceDeForm.gid = gid; |
| | | } else { |
| | | this.$store.state.surfaceDeForm.flag = false; |
| | | this.$store.state.surfaceDeForm.gid = null; |
| | | } |
| | | const res = await dataQuery_selectTabByEntity({ |
| | | name: this.$store.state.pickoption.name |
| | | }) |
| | |
| | | }); |
| | | |
| | | |
| | | this.$store.state.isProjectLayer = [], |
| | | this.$store.state.pigCode = null, |
| | | this.$store.state.showAllLayers = true; |
| | | this.$store.state.isProjectLayer = []; |
| | | this.$store.state.pigCode = null; |
| | | this.$store.state.showAllLayers = true; |
| | | this.$store.state.layerMnage = false; |
| | | this.$store.state.treeData = null; |
| | | this.$store.state.checkedKeys = []; |
| | | // this.setCoverage("a1"); |
| | | this.layersStart(); |
| | | // this.layersStart(); |
| | | |
| | | this.$bus.$on('addImageLayer', (res)=>{ |
| | | if(res){ |
| | | this.layersStart(); |
| | | } |
| | | }); |
| | | |
| | | this.$bus.$on("setDialogInsertVisible", (res) => { |
| | | if (res == true) { |