| | |
| | | name: "地下模式", |
| | | css: "twoMenu_imge29", |
| | | }, |
| | | // { |
| | | // id: "b10", |
| | | // label: "synthesis.undergroundMode", |
| | | // name: "瓦片下载", |
| | | // css: "twoMenu_imge29", |
| | | // }, |
| | | ], |
| | | [ |
| | | { |
| | |
| | | new Cesium.UrlTemplateImageryProvider({ |
| | | url: localUrl, |
| | | maximumLevel: 22, |
| | | enablePickFeatures: false |
| | | }) |
| | | ); |
| | | Viewer.imageryLayers.lowerToBottom(window.contRastLayer);//将图层移到最底层 |
| | |
| | | } |
| | | }, |
| | | addAnalysisFlood() { |
| | | var url = window.location.href; |
| | | var testurl = ""; |
| | | if (url.indexOf("web") != -1) { |
| | | testurl = "/web"; |
| | | } |
| | | var method = { |
| | | pointSelect: true, |
| | | spood: 20, |
| | | GroupID: 0, |
| | | url: "/SmartEarthSDK/Workers/image/33.gif", |
| | | url: testurl + "/SmartEarthSDK/Workers/image/33.gif", |
| | | }; |
| | | window.AnalysisFlood = sgworld.Command.execute( |
| | | 2, |
| | |
| | | if (str.url != null && str.type == 2 && str.isShow == 1) { |
| | | return str; |
| | | } |
| | | |
| | | }) |
| | | var layer = std.filter((str) => { |
| | | if (str.isProject == 1 && str.type == 2) { |
| | | this.$store.state.isProjectLayer.push(str); |
| | | } |
| | | }) |
| | | |
| | | this.setAddLayers(value); |
| | | |
| | | var res = this.setTreeData(val); |
| | | this.$store.state.pigCode = null; |
| | | //存储选中图层 |
| | |
| | | // } |
| | | // }); |
| | | // } |
| | | |
| | | this.$store.state.oldTree = val; |
| | | this.$store.state.treeData = res; |
| | | |
| | | this.$store.state.checkedKeys = checkKey; |
| | |
| | | var layer = []; |
| | | var sql = []; |
| | | var dirid = this.$store.state.pigCode |
| | | |
| | | var that = this; |
| | | for (var i in res) { |
| | | layer.push(res[i].url) |
| | | |
| | |
| | | layer = layer.reverse(); |
| | | sql = sql.reverse().join(";") |
| | | var getFeatureInfoFormat = new Cesium.GetFeatureInfoFormat("html", null, function (html) { |
| | | |
| | | that.getFeatureInfo(html) |
| | | }); |
| | | window.layerWMS = new Cesium.WebMapServiceImageryProvider({ |
| | |
| | | }); |
| | | layerWMS.name = "Wms_Layer"; |
| | | |
| | | window.Viewer.scene.imageryLayers.addImageryProvider(window.layerWMS); |
| | | window.Viewer.imageryLayers.addImageryProvider(window.layerWMS); |
| | | var layer2 = new Image({ |
| | | name: "Wms_Layer", |
| | | source: new ImageWMS({ |
| | |
| | | tileHeight: 512, |
| | | }); |
| | | layerWMS.name = "Wms_Layer"; |
| | | window.Viewer.scene.imageryLayers.addImageryProvider(window.layerWMS); |
| | | window.Viewer.imageryLayers.addImageryProvider(window.layerWMS); |
| | | var layer2 = new Image({ |
| | | name: "Wms_Layer", |
| | | source: new ImageWMS({ |
| | |
| | | arr[vla.alias] = valste[vla.field] |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | arr['eventid'] = valste.eventid |
| | | |
| | |
| | | }); |
| | | |
| | | |
| | | 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.$bus.$on("setDialogInsertVisible", (res) => { |
| | | |
| | | if (res == true) { |
| | | this.dialogVisible1 = true; |
| | | } else { |