From b2fdf4f25251229adbe9a6963cb35fb7fc868172 Mon Sep 17 00:00:00 2001 From: surprise <15810472099@163.com> Date: 星期二, 02 一月 2024 18:29:14 +0800 Subject: [PATCH] GLB模型添加.修改,删除 --- src/assets/img/new/topBar.png | 0 static/image/飞机.png | 0 vue.config.js | 43 src/assets/img/new/mapSplit.png | 0 static/data/layerData.js | 56 src/assets/js/drag.js | 28 src/assets/img/new/topBar1.png | 0 src/api/api.js | 15 src/assets/js/Layer/mapViewer.js | 42 index.html | 7 src/assets/img/model/飞机.png | 0 src/assets/js/Layer/model.js | 177 + static/layers.json | 4848 -------------------------------------------- static/image/隔离带.png | 0 src/components/left/layerTree/modelEdit.vue | 167 + src/components/left/layerTree/modelLayer.vue | 113 + src/components/left/layerTree/Layer.vue | 513 ++-- src/components/menu/bottom-menu.vue | 2 config/index.js | 6 src/store/index.js | 20 src/components/map/viewer.vue | 7 src/components/index.vue | 53 README.md | 2 src/components/menu/menulist.vue | 22 src/assets/img/model/隔离带.png | 0 src/utils/request.js | 76 static/SmartEarthSDK/Workers/TreeTool.js | 5 src/main.js | 3 src/components/map/history.vue | 3 src/components/right/right-bottom.vue | 23 src/store/mapSplit.js | 120 + src/components/right/right-top.vue | 167 32 files changed, 1,219 insertions(+), 5,299 deletions(-) diff --git a/README.md b/README.md index c017c3c..e805388 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # swzjxt -> 浜﹀簞涓�寮犲浘绯荤粺 +> 姹熻嫃浜ゆ帶鏅烘収楂橀�熺郴缁� ## Build Setup diff --git a/config/index.js b/config/index.js index f4c8d16..1f32556 100644 --- a/config/index.js +++ b/config/index.js @@ -36,13 +36,13 @@ cssSourceMap: true, proxyTable: { // 杩欓噷閰嶇疆 '/api' 灏辩瓑浠蜂簬 target , 浣犲湪閾炬帴閲岃闂� /api === http://localhost:54321 - '/api': { - target: 'http://10.10.4.121:8070', + '/JiangSu': { + target: 'http://localhost/JiangSu', // secure: true, // 濡傛灉鏄� https ,闇�瑕佸紑鍚繖涓�夐」 changeOrigin: true, // 鏄惁鏄法鍩熻姹�?鑲畾鏄晩,涓嶈法鍩熷氨娌℃湁蹇呰閰嶇疆杩欎釜proxyTable浜�. pathRewrite: { // 閲嶅啓璺緞 渚嬪娴忚鍣ㄨ姹傚湴鍧�http://localhost:12345/xxx,瀹為檯璇锋眰鐨勬槸浣犱唬鐞嗙殑鍦板潃锛歨ttp:xxx/11111 // 杩欓噷鏄拷鍔犻摼鎺�,姣斿鐪熸槸鎺ュ彛閲屽寘鍚簡 /api,灏遍渶瑕佽繖鏍烽厤缃�. - '^/api': '', // 鍜屼笅杈逛袱绉嶅啓娉曪紝鍥犱汉鑰屽紓鏍规嵁闇�姹傘�� + '^/JiangSu': '', // 鍜屼笅杈逛袱绉嶅啓娉曪紝鍥犱汉鑰屽紓鏍规嵁闇�姹傘�� // 绛変环浜� /api + /api == http://localhost:54321/api // 濡傛灉鍐欎负 '^/api' : '/' // 绛変环浜� /api + / == http://localhost:54321/ diff --git a/index.html b/index.html index ae5ba51..e32b28b 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0"> - <title>鏃剁┖涓�寮犲浘</title> + <title>姹熻嫃浜ゆ帶鏅烘収楂橀��</title> <!-- <link rel="icon" href="./static/img/favicon.ico" type="image/x-icon" /> --> <link rel="stylesheet" href="./static/SmartEarthSDK/Cesium/Widgets/widgets.css"> <link rel="stylesheet" href="./static/iconfont/iconfont.css"> @@ -83,10 +83,11 @@ <script src="./static/othersMap/othersMap.js"></script> +<script src="./static/data/layerData.js"></script> <script type="text/javascript"> // 鍙互杩涜if鍒ゆ柇鍖哄垎涓嶇敤鍩熷悕 - var BMAP_RESORCE_TILE = "10.10.4.116:8085/yzAdapter/SosoService"; - var BMAP_RESORCE_IP = "10.10.4.116:8085/yzAdapter/SosoService"; + // var BMAP_RESORCE_TILE = "10.10.4.116:8085/yzAdapter/SosoService"; + // var BMAP_RESORCE_IP = "10.10.4.116:8085/yzAdapter/SosoService"; </script> </head> diff --git a/src/api/api.js b/src/api/api.js index ea1f8af..cc6561a 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -22,6 +22,21 @@ export function updateUserPwd(params) { return service.put('system/user/profile/updatePwd', params); } + +export function Op_SelectByPage(params){ + //璇锋眰鍦板潃 + return service.get("/Op/SelectByPage", { params: params }); +} +export function Op_Insert(params) { + //璇锋眰鍦板潃 + return service.post("/Op/Insert", params); +} +export function Op_UpdateById(params){ + //璇锋眰鍦板潃 + return service.post("/Op/UpdateById", params); +} + + //浜姙鐧诲綍 // export function loginById(params) { // return request.post('/sign/loginById', params); diff --git "a/src/assets/img/model/\351\232\224\347\246\273\345\270\246.png" "b/src/assets/img/model/\351\232\224\347\246\273\345\270\246.png" new file mode 100644 index 0000000..c15c209 --- /dev/null +++ "b/src/assets/img/model/\351\232\224\347\246\273\345\270\246.png" Binary files differ diff --git "a/src/assets/img/model/\351\243\236\346\234\272.png" "b/src/assets/img/model/\351\243\236\346\234\272.png" new file mode 100644 index 0000000..9b8fecd --- /dev/null +++ "b/src/assets/img/model/\351\243\236\346\234\272.png" Binary files differ diff --git a/src/assets/img/new/mapSplit.png b/src/assets/img/new/mapSplit.png new file mode 100644 index 0000000..cce0e5f --- /dev/null +++ b/src/assets/img/new/mapSplit.png Binary files differ diff --git a/src/assets/img/new/topBar.png b/src/assets/img/new/topBar.png index 5875610..046e098 100644 --- a/src/assets/img/new/topBar.png +++ b/src/assets/img/new/topBar.png Binary files differ diff --git a/src/assets/img/new/topBar1.png b/src/assets/img/new/topBar1.png new file mode 100644 index 0000000..5875610 --- /dev/null +++ b/src/assets/img/new/topBar1.png Binary files differ diff --git a/src/assets/js/Layer/mapViewer.js b/src/assets/js/Layer/mapViewer.js new file mode 100644 index 0000000..b5795dc --- /dev/null +++ b/src/assets/js/Layer/mapViewer.js @@ -0,0 +1,42 @@ +import store from "../../../store"; +import model from "./model"; +const mapViewer = { + leftClick: null, + rightClick: null, + addClick() { + this.addLeftClick(); + this.addRightClick(); + }, + addLeftClick() { + this.leftClick = new Cesium.ScreenSpaceEventHandler(window.Viewer.canvas); + this.leftClick.setInputAction(function (event) { + let cartesian = window.Viewer.camera.pickEllipsoid(event.position); + let cartographic = Cesium.Cartographic.fromCartesian(cartesian); + let lng = Cesium.Math.toDegrees(cartographic.longitude); // 缁忓害 + let lat = Cesium.Math.toDegrees(cartographic.latitude); // 绾害 + let alt = cartographic.height; // 楂樺害锛屾き鐞冮潰height姘歌繙绛変簬 + let coordinate = { + longitude: Number(lng.toFixed(6)), + latitude: Number(lat.toFixed(6)), + altitude: Number(alt.toFixed(2)), + heading: 0, + pitch: 0, + roll: 0, + scale: 1, + }; + + if(store.state.addModelFlag){ + model.setModelCoord(coordinate); + } + }, Cesium.ScreenSpaceEventType.LEFT_CLICK) + }, + addRightClick() { + this.rightClick = new Cesium.ScreenSpaceEventHandler(window.Viewer.canvas); + this.rightClick.setInputAction(function (event) { + let pickedObject = window.Viewer.scene.pick(event.position); + + console.log(pickedObject) + }, Cesium.ScreenSpaceEventType.RIGHT_CLICK) + }, +} +export default mapViewer; \ No newline at end of file diff --git a/src/assets/js/Layer/model.js b/src/assets/js/Layer/model.js new file mode 100644 index 0000000..b1a1365 --- /dev/null +++ b/src/assets/js/Layer/model.js @@ -0,0 +1,177 @@ +import store from "../../../store"; +import Bus from "@tools/Bus"; +const model = { + title: null, + modelLayer: null, + titleSet: null, + from: null, + changeLayer(item, res) { + store.state.addModelFlag = res; + this.title = item; + this.setModelMouseMove(); + }, + setModelCoord(res) { + store.state.addModelFlag = false; + this.setModelMouseMove(); + if (res) { + var id = new Date().getTime(); + var obj = { + id: id, + sourceType: 'GLB', + name: this.title.name, + style: { + url: this.title.url, + name: this.title.name, + longitude: res.longitude, + latitude: res.latitude, + altitude: res.altitude, + heading: res.heading, + pitch: res.pitch, + roll: res.roll, + scale: res.scale, + url: this.title.url, + id: id, + sourceType: 'GLB', + } + } + Bus.$emit("addOtherData", "瀵硅薄", obj); + + } + + }, + setModelMouseMove() { + if (store.state.addModelFlag) { + document.getElementById("myImage").src = layerData.config.img_url + this.title.imgUrl; + document.onmousemove = (event) => { + this.setMouseMove(event) + } + } else { + document.getElementById("myImage").src = ""; + $("#imageModel").hide(); + } + }, + setMouseMove(res) { + if (!store.state.addModelFlag) return; + var odiv = document.getElementById("imageModel"); + odiv.style.top = (res.clientY - 15) + "px"; + odiv.style.left = (res.clientX + 15) + "px"; + $("#imageModel").show(); + }, + addModelLayer(res) { + if (!res) return; + this.getModelLayer(); + var modelMatrix = this.getModelMatrix(res.style); + var url = layerData.config.Model_URL + res.style.url; + var model = this.modelLayer.add(Cesium.Model.fromGltf({ + id: res.id, + url: url, + scale: res.scale, + minimumPixelSize: 64, + modelMatrix: modelMatrix + + })); + model.name = res.name; + setTimeout(() => { + this.updateGlbModel(model, res.style) + }, 200); + + }, + setDelGLBModel(res) { + + for (var i = 0; i < this.modelLayer._primitives.length; i++) { + var model = this.modelLayer._primitives[i] + if (model.id == res.id) { + this.modelLayer.remove(this.modelLayer._primitives[i]); + } + } + }, + flyTo(res) { + for (var i = 0; i < this.modelLayer._primitives.length; i++) { + var model = this.modelLayer._primitives[i] + if (model.id == res.id) { + // Viewer.trackedEntity = this.modelLayer._primitives[i] + Viewer.scene.camera.flyTo(this.modelLayer._primitives[i]) + } + } + }, + getEditModelLayer(res) { + for (var i = 0; i < this.modelLayer._primitives.length; i++) { + var model = this.modelLayer._primitives[i] + if (model.id == res.id) { + this.titleSet = this.modelLayer._primitives[i]; + } + } + if (!this.titleSet) return; + var cm = this.titleSet.modelMatrix; // 鑾峰彇褰撳墠妯″瀷modelMatrix + var cartesian = new Cesium.Cartesian3(cm[12], cm[13], cm[14]); + var carto = Cesium.Cartographic.fromCartesian(cartesian); + + var m1 = Cesium.Transforms.eastNorthUpToFixedFrame(Cesium.Matrix4.getTranslation(cm, new Cesium.Cartesian3()), Cesium.Ellipsoid.WGS84, new Cesium.Matrix4()); + var m3 = Cesium.Matrix4.multiply(Cesium.Matrix4.inverse(m1, new Cesium.Matrix4()), cm, new Cesium.Matrix4()); + var mat3 = Cesium.Matrix4.getRotation(m3, new Cesium.Matrix3()); + var q = Cesium.Quaternion.fromRotationMatrix(mat3); + var hpr = Cesium.HeadingPitchRoll.fromQuaternion(q); + + this.form = { + id: this.titleSet.id, + sourceType: 'GLB', + name: this.titleSet.name, + style: { + url: res.style.url, + name: this.titleSet.name, + altitude: Math.round(carto.height * 10) / 10, + longitude: res.style.longitude, + latitude: res.style.latitude, + heading: Math.round(Cesium.Math.toDegrees(hpr.heading)), + pitch: Math.round(Cesium.Math.toDegrees(hpr.pitch)), + roll: Math.round(Cesium.Math.toDegrees(hpr.roll)), + scale: this.titleSet.scale, + url: res.style.url, + id: this.titleSet.id, + sourceType: 'GLB', + } + } + store.state.showModelFlag = false; + store.state.isShowEditLayer = true; + }, + setEditChanege(res, flag) { + this.form = res; + Bus.$emit("updataTreeNode", this.form.id, this.form); + if (flag == 2) { + this.updateGlbModel(this.titleSet, this.form.style) + } + }, + updateGlbModel(model, res) { + if (!res.longitude) return + var cm = model.modelMatrix; // 鑾峰彇褰撳墠妯″瀷modelMatrix + var nc = Cesium.Cartesian3.fromDegrees(res.longitude, res.latitude, res.altitude); + var newHeading = Cesium.Math.toRadians(res.heading); //鏀瑰彉Heading鍊� + var newPitch = Cesium.Math.toRadians(res.pitch); // pitch鍊煎~褰撳墠妯″瀷pitch锛屼笂鏂囦粙缁嶈繃濡備綍鑾峰彇 + var newRoll = Cesium.Math.toRadians(res.roll); // 鍚屼笂 + var headingPitchRoll = new Cesium.HeadingPitchRoll(newHeading, newPitch, newRoll); + var m = Cesium.Transforms.headingPitchRollToFixedFrame(nc, headingPitchRoll, Cesium.Ellipsoid.WGS84, Cesium.Transforms.eastNorthUpToFixedFrame, new Cesium.Matrix4()); + model.modelMatrix = m; + model.scale = res.scale; + var sm = Cesium.Matrix4.fromScale(new Cesium.Cartesian3(res.scale, res.scale, res.scale), new Cesium.Matrix4()); + model.modelMatrix = Cesium.Matrix4.multiply(model.modelMatrix, sm, model.modelMatrix); + }, + + getModelMatrix(res) { + var headingPitchRoll = new Cesium.HeadingPitchRoll(res.heading, res.pitch, res.roll); + var position = Cesium.Cartesian3.fromDegrees(res.longitude, res.latitude, res.altitude); + var modelMatrix = Cesium.Transforms.headingPitchRollToFixedFrame( + position, headingPitchRoll, Cesium.Ellipsoid.WGS84, + Cesium.Transforms.eastNorthUpToFixedFrame, + new Cesium.Matrix4()); + return modelMatrix; + }, + + getModelLayer() { + if (this.modelLayer == null) { + this.modelLayer = new Cesium.PrimitiveCollection(); + this.modelLayer.id = "model_layer"; + Viewer.scene.primitives.add(this.modelLayer); + } + }, +} +export default model; \ No newline at end of file diff --git a/src/assets/js/drag.js b/src/assets/js/drag.js new file mode 100644 index 0000000..0e6af59 --- /dev/null +++ b/src/assets/js/drag.js @@ -0,0 +1,28 @@ +import Vue from 'vue'; +//浣跨敤Vue.directive()瀹氫箟涓�涓叏灞�鎸囦护 +//1.鍙傛暟涓�锛氭寚浠ょ殑鍚嶇О锛屽畾涔夋椂鎸囦护鍓嶉潰涓嶉渶瑕佸啓v- +//2.鍙傛暟浜岋細鏄竴涓璞★紝璇ュ璞′腑鏈夌浉鍏崇殑鎿嶄綔鍑芥暟 +//3.鍦ㄨ皟鐢ㄧ殑鏃跺�欏繀椤诲啓v- +const drag = Vue.directive('drag', { + //1.鎸囦护缁戝畾鍒板厓绱犱笂鍥炵珛鍒绘墽琛宐ind鍑芥暟锛屽彧鎵ц涓�娆� + //2.姣忎釜鍑芥暟涓涓�涓弬鏁版案杩滄槸el锛岃〃绀虹粦瀹氭寚浠ょ殑鍏冪礌锛宔l鍙傛暟鏄師鐢焜s瀵硅薄 + //3.閫氳繃el.focus()鏄棤娉曡幏鍙栫劍鐐圭殑锛屽洜涓哄彧鏈夋彃鍏OM鍚庢墠鐢熸晥 + bind: function (el) { }, + //inserted琛ㄧず涓�涓厓绱狅紝鎻掑叆鍒癉OM涓細鎵цinserted鍑芥暟锛屽彧瑙﹀彂涓�娆� + inserted: function (el) { + el.onmousedown = function (e) { + var disx = e.pageX - el.offsetLeft; + var disy = e.pageY - el.offsetTop; + document.onmousemove = function (e) { + el.style.left = e.pageX - disx + 'px'; + el.style.top = e.pageY - disy + 'px'; + } + document.onmouseup = function () { + document.onmousemove = document.onmouseup = null; + } + } + }, + //褰揤Node鏇存柊鐨勬椂鍊欎細鎵цupdated锛屽彲浠ヨЕ鍙戝娆� + updated: function (el) { } +}) +export default drag; \ No newline at end of file diff --git a/src/components/index.vue b/src/components/index.vue index f5b8b72..9227b11 100644 --- a/src/components/index.vue +++ b/src/components/index.vue @@ -1,11 +1,11 @@ <template> <div class="mapViewer"> <div class="cacheImage"> - <img style="display: none;" src="@assets/img/new/rightCircle-y.png" alt="" /> - <img style="display: none;" src="@assets/img/new/leftCircle-y.png" alt="" /> - <img style="display: none;" src="@assets/img/new/treeClose-y.png" alt="" /> - <img style="display: none;" src="@assets/img/new/h1.png" alt="" /> - </div> + <img style="display: none;" src="@assets/img/new/rightCircle-y.png" alt="" /> + <img style="display: none;" src="@assets/img/new/leftCircle-y.png" alt="" /> + <img style="display: none;" src="@assets/img/new/treeClose-y.png" alt="" /> + <img style="display: none;" src="@assets/img/new/h1.png" alt="" /> + </div> <div class="tooltip" :class="{ tooltiphide: !tooltipShow }"> @@ -21,9 +21,8 @@ </div> </div> - <viewer1 class="mapViewer" :key="switchKey" v-show="viewer1Show" :style="viewer1Style" - @mousemove.native="viewer1MouseMove" /> - <viewer class="mapViewer" ref="mapViewer" :style="viewerStyle" @mousemove.native="viewerMouseMove" /> + <viewer1 class="mapViewer" id="mapOl" :key="switchKey" v-show="viewer1Show" :style="viewer1Style" /> + <viewer class="mapViewer" id="mapView" ref="mapViewer" :style="viewerStyle" /> <div class="controlPanel" :style="{ width: `${size}`, height: `${size}`, @@ -45,10 +44,14 @@ <right ref="Right" /> <leftpanel ref="Left" /> <menupanel /> - <bottommenu ref="bottommenu" /> + <!-- <bottommenu ref="bottommenu" /> --> <signalling v-if="signallingShow"></signalling> <setting v-if="showSetting" /> <qycharts v-if="$store.state.qyEchartsShow" /> + </div> + + <div id="imageModel" class="imageModel"> + <img id="myImage" class="image" src=""> </div> </div> </template> @@ -96,7 +99,7 @@ offset: "0%", tooltipInfo: "璇风◢鍚庛�傘�傘��", tooltipShow: false, - signallingShow:false, + signallingShow: false, switchKey: 0, // viewer1Show: false, }; @@ -138,7 +141,7 @@ changePwd() { console.log(111); }, - changeMode(mode){ + changeMode(mode) { this.$refs.mapViewer.changeMode(mode); }, detectZoom() { @@ -170,7 +173,7 @@ cameraMoveEnd() { // var p = { // destination: sgworld.Navigate.getPosition(), - + // }; // sgworld1.Viewer.camera.setView(p); }, @@ -197,13 +200,13 @@ sgworldEvenListener() { // sgworld1.Viewer.camera.setView({ // destination: sgworld.Viewer.camera.position.clone(), - + // }); }, sgworld1EvenListener() { // sgworld.Viewer.camera.setView({ // destination: sgworld1.Viewer.camera.position.clone(), - + // }); }, closeHighLight() { @@ -227,15 +230,16 @@ this.$store.commit("showHistory", false); }, }, - beforeDestroy(){ + beforeDestroy() { this.$refs.bottommenu.switchMenu(0); }, }; </script> <style scoped> -.cacheImage{ +.cacheImage { display: none !important; } + .mapViewer { height: 100%; } @@ -247,8 +251,8 @@ } #headlog { - width: 965px; - height: 70px; + width: 1920px; + height: 100px; position: absolute; left: 50%; top: 0; @@ -337,4 +341,17 @@ .searchBtn { width: 40px; } + +.imageModel { + z-index: 40; + position: absolute; + display: none; + + +} + +.imageModel .image { + width: 30px; + height: 30px; +} </style> diff --git a/src/components/left/layerTree/Layer.vue b/src/components/left/layerTree/Layer.vue index a5b04d2..389efd2 100644 --- a/src/components/left/layerTree/Layer.vue +++ b/src/components/left/layerTree/Layer.vue @@ -8,127 +8,62 @@ <div class="treeContainer"> <div class="treeTitle"> <span class="closePanel" @click="closeLayer">脳</span> - <el-upload - class="button-group" - action="" - :auto-upload="false" - :show-file-list="false" - :on-change="loadJsonFromFile" - accept=".json" - > - <el-button - class="button-user" - type="primary" - slot="trigger" - icon="el-icon-folder-opened" - title="鎵撳紑鏈湴閰嶇疆鏂囦欢" - ></el-button> - <el-button - class="button-user" - type="primary" - icon="el-icon-download" - title="淇濆瓨涓烘湰鍦伴厤缃枃浠�" - @click.stop="save" - ></el-button> - <el-button - class="button-user" - type="primary" - icon="el-icon-delete" - title="娓呴櫎鎵�鏈夋爣缁�" - @click.stop="deleteAllPlot" - ></el-button> - <el-button - class="button-user" - type="primary" - icon="el-icon-upload" - title="涓婁紶鑷虫湇鍔″櫒" - @click.stop="saveHistoryPlot" - ></el-button> + <el-upload class="button-group" action="" :auto-upload="false" :show-file-list="false" + :on-change="loadJsonFromFile" accept=".json"> + <el-button class="button-user" type="primary" slot="trigger" icon="el-icon-folder-opened" + title="鎵撳紑鏈湴閰嶇疆鏂囦欢"></el-button> + <el-button class="button-user" type="primary" icon="el-icon-download" title="淇濆瓨涓烘湰鍦伴厤缃枃浠�" + @click.stop="save"></el-button> + <!-- <el-button class="button-user" type="primary" icon="el-icon-delete" title="娓呴櫎鎵�鏈夋爣缁�" + @click.stop="deleteAllPlot"></el-button> --> + <el-button class="button-user" type="primary" icon="el-icon-upload" title="涓婁紶鑷虫湇鍔″櫒" + @click.stop="saveHistoryPlot"></el-button> - <el-button - class="button-user historyBtn" - type="primary" - icon="el-icon-s-order" - title="鍘嗗彶璁板綍" - @click.stop="histotyPlotting" - ></el-button> + <!-- <el-button class="button-user historyBtn" type="primary" icon="el-icon-s-order" title="鍘嗗彶璁板綍" + @click.stop="histotyPlotting"></el-button> --> </el-upload> </div> - <el-tree - ref="tree" - :data="treeData" - show-checkbox - node-key="id" - draggable - :allow-drop="allowDrop" - :expand-on-click-node="false" - :auto-expand-parent="false" - :default-expanded-keys="defaultExpanded" - :default-checked-keys="defaultCheck" - @node-expand="changeNodeExpand($event, true)" - @node-collapse="changeNodeExpand($event, false)" - @check="check" - @node-contextmenu="rightClick" - > - <span - class="custom-tree-node" - slot-scope="{ data }" - @dblclick="flyTo(data)" - @click="select(data)" - > + <el-tree ref="tree" :data="treeData" show-checkbox node-key="id" draggable :allow-drop="allowDrop" + :expand-on-click-node="false" :auto-expand-parent="false" :default-expanded-keys="defaultExpanded" + :default-checked-keys="defaultCheck" @node-expand="changeNodeExpand($event, true)" + @node-collapse="changeNodeExpand($event, false)" @check="check" @node-contextmenu="rightClick"> + <span class="custom-tree-node" slot-scope="{ data }" @dblclick="flyTo(data)" @click="select(data)"> <span> <i v-if="data.children" class="el-icon-folder"></i> - <i - v-else - :class=" - data.sourceType === 'location' - ? 'el-icon-location-outline' - : '' - " - ></i> - <el-input - v-if="data.rename" - v-model="data.name" - size="mini" - placeholder="璇疯緭鍏ュ悕绉�" - @change="rename(data)" - @blur="rename(data)" - ></el-input> + <i v-else :class="data.sourceType === 'location' + ? 'el-icon-location-outline' + : '' + "></i> + <el-input v-if="data.rename" v-model="data.name" size="mini" placeholder="璇疯緭鍏ュ悕绉�" @change="rename(data)" + @blur="rename(data)"></el-input> <span v-else>{{ data.name }}</span> </span> </span> </el-tree> </div> - <div - class="rightClickMenu" - v-if="rightClickMenuDisplay" - @click.stop="closeRightClick" - :style="{ ...rightClickMenuStyle }" - > + <div class="rightClickMenu" v-if="rightClickMenuDisplay" @click.stop="closeRightClick" + :style="{ ...rightClickMenuStyle }"> <ul> - <li @click="addFold"><i class="el-icon-plus"></i>娣诲姞鐩綍</li> - <li @click="addLayer"><i class="el-icon-plus"></i>娣诲姞鍥惧眰</li> - <li @click="editDemoAnimation"> + <!-- <li @click="addFold"><i class="el-icon-plus"></i>娣诲姞鐩綍</li> + <li @click="addLayer"><i class="el-icon-plus"></i>娣诲姞鍥惧眰</li> --> + <!-- <li @click="editDemoAnimation"> <i class="el-icon-plus"></i>娣诲姞鍔ㄧ敾 - </li> - <li @click="addPosition"> + </li> --> + <!-- <li @click="addPosition"> <i class="el-icon-location-outline"></i>娣诲姞瀹氫綅 - </li> + </li> --> <li v-if="!isClickParent" @click="editTreeNode"> <i class="el-icon-edit"></i>缂栬緫 </li> - <li @click="openRename"><i class="el-icon-edit"></i>閲嶅懡鍚�</li> + <!-- <li @click="openRename"><i class="el-icon-edit"></i>閲嶅懡鍚�</li> --> <li @click="deleteTreeNode"><i class="el-icon-delete"></i>鍒犻櫎</li> </ul> </div> <add-terrain ref="addTerrain" @success="addSceneData" /> - <add-online-map - ref="addOnlineMap" - @success="addOtherData('褰卞儚', $event)" - /> + <add-online-map ref="addOnlineMap" @success="addOtherData('褰卞儚', $event)" /> <add-image ref="addImage" @success="addSceneData" /> <add-model ref="addModel" @success="addSceneData" /> <add-pathLayer ref="addPathLayer" @success="addSceneData" /> @@ -139,11 +74,7 @@ <get-scene ref="getScene" @success="openScene" /> <save-scene ref="saveScene" @success="saveScene" /> <select-data ref="select" @success="openThisTypePop" /> - <animationEdit - ref="animationEdit" - @success="updateAnimation" - @setAnimation="setAnimation" - /> + <animationEdit ref="animationEdit" @success="updateAnimation" @setAnimation="setAnimation" /> </div> </div> </template> @@ -166,6 +97,8 @@ import AddOnlineMap from "./AddOnlineMap.vue"; import GetScene from "./GetScene.vue"; import SaveScene from "./SaveScene.vue"; +import { Op_SelectByPage, Op_Insert, Op_UpdateById } from '../../../api/api.js' +import model from "../../../assets/js/Layer/model"; // 宸ョ▼鏍戝伐鍏� let _treeTool; function arrGroup(arr, fn) { @@ -214,6 +147,9 @@ isNewFold: false, newFoldName: undefined, serverURL: "http://192.168.109.128:8080", + uploading: false, + layersId: null + }; }, mounted() { @@ -231,19 +167,25 @@ } else if (this.treeData.length) { // 瀛樺湪缂撳瓨鏁版嵁 // 鍔犺浇鍦烘櫙鏁版嵁 - this.loadDataToScene(); + // this.loadDataToScene(); + this.setTreeData([]); + this.initData({}); } else { // 榛樿鏍戠粨鏋� // this.setTreeData([{ id: "82A0C3DE", name: "鎴戠殑璧勬簮", children: [] }]); this.setTreeData([]); + this.initData({}); // 鍔犺浇鍦烘櫙鏁版嵁 - this.loadDataToScene(); + // this.loadDataToScene(); } // 鎵撳紑寮圭獥 //this.$refs.layer.open(); - - // 瀹氫箟涓浆绔欎簨浠� - this.initBusEvent(); + this.initData({}); + this.$nextTick(() => { + this.histotyPlotting(); + // 瀹氫箟涓浆绔欎簨浠� + this.initBusEvent(); + }) }, destroyed() { _treeTool = undefined; @@ -358,138 +300,184 @@ // 鏍囩粯涓婁紶鑷虫湇鍔″櫒 saveHistoryPlot() { if (this.treeData.length == 0) { - this.$message.error("璇峰厛杩涜鏍囩粯"); + this.$message.error("璇峰厛杩涜鏁版嵁鍔犺浇"); return; } else if (this.treeData.length > 1) { this.$message.error("鏍煎紡涓嶆纭紝璇蜂慨鏀瑰悗閲嶆柊淇濆瓨"); return; } - this.$confirm("鏄惁灏嗗綋鍓嶄細璁繚闅滄爣缁樻暟鎹笂浼犺嚦鏈嶅姟鍣�?", "涓婁紶", { - confirmButtonText: "纭畾", - cancelButtonText: "鍙栨秷", - type: "warning", - }) - .then(() => { - let oricontent = JSON.stringify(this.treeData); - let content = oricontent.replace( - /"checked":true/g, - '"checked":false' - ); - const uploading = this.$loading({ - lock: true, - text: "浼氳淇濋殰鏍囩粯鏁版嵁涓婁紶涓紝璇风◢鍚�", - spinner: "el-icon-loading", - background: "rgba(0, 0, 0, 0.7)", - }); - axios({ - method: "POST", - url: "http://10.10.4.121:8070/PM20221203225_OpenAPI3_Service-0.0.1-SNAPSHOT/biaoHui/add", - data: { - userId: this.$store.state.userId, - userName: this.$store.state.userName, - geojsonName: this.treeData[0].name, - geojsonString: content, - }, - }).then( - (response) => { - uploading.close(); - if (response.data.code == 200) { - this.$message({ - message: "淇濆瓨鎴愬姛", - type: "success", - }); - } else { - this.$message.error("淇濆瓨澶辫触锛�"); - } - }, - (error) => { - uploading.close(); - this.$message.error("鏁版嵁涓婁紶澶辫触"); - // console.log("閿欒", error.message); - } - ); - }) - .catch(() => { - this.$message({ - type: "info", - message: "宸插彇娑堜笂浼�", - }); - }); + var that = this; + // this.$confirm("鏄惁灏嗗綋鍓嶅満鏅暟鎹笂浼犺嚦鏈嶅姟鍣�?", "涓婁紶", { + // confirmButtonText: "纭畾", + // cancelButtonText: "鍙栨秷", + // type: "warning", + // }) + // .then(() => { + let oricontent = JSON.stringify(this.treeData); + let content = oricontent.replace( + /"checked":true/g, + '"checked":false' + ); + this.uploading = this.$loading({ + lock: true, + text: "鍦烘櫙鏁版嵁涓婁紶涓紝璇风◢鍚�", + spinner: "el-icon-loading", + background: "rgba(0, 0, 0, 0.7)", + }); + if (this.layersId) { + var obj = { + name: "姹熻嫃浜ゆ帶鏅烘収楂橀��", + json: oricontent, + id: this.layersId, + } + this.editLayerData(obj); + } else { + var obj = { + name: "姹熻嫃浜ゆ帶鏅烘収楂橀��", + json: oricontent + } + this.addLayerData(obj); + } + + + // axios({ + // method: "POST", + // url: "http://10.10.4.121:8070/PM20221203225_OpenAPI3_Service-0.0.1-SNAPSHOT/biaoHui/add", + // data: { + // userId: this.$store.state.userId, + // userName: this.$store.state.userName, + // geojsonName: this.treeData[0].name, + // geojsonString: content, + // }, + // }).then( + // (response) => { + // uploading.close(); + // if (response.data.code == 200) { + // this.$message({ + // message: "淇濆瓨鎴愬姛", + // type: "success", + // }); + // } else { + // this.$message.error("淇濆瓨澶辫触锛�"); + // } + // }, + // (error) => { + // uploading.close(); + // this.$message.error("鏁版嵁涓婁紶澶辫触"); + // // console.log("閿欒", error.message); + // } + // ); + // }) + // .catch(() => { + // this.$message({ + // type: "info", + // message: "宸插彇娑堜笂浼�", + // }); + // }); + }, + async addLayerData(res) { + const data = await Op_Insert(res); + if (data.status == 200) { + this.uploading.close(); + } + }, + async editLayerData(res) { + const data = await Op_UpdateById(res); + if (data.status == 200) { + this.uploading.close(); + } }, // 鍔犺浇鍘嗗彶鏍囩粯鏁版嵁 - histotyPlotting() { - this.$confirm( - "璇ユ搷浣滃皢浼氬鑷村綋鍓嶆爣缁樻暟鎹瑕嗙洊锛屾槸鍚︾户缁�?", - "浼氳淇濋殰鍘嗗彶鏁版嵁", - { - confirmButtonText: "纭畾", - cancelButtonText: "鍙栨秷", - type: "warning", - // customClass: "msgbox", + async histotyPlotting() { + const data = await Op_SelectByPage({ pageSize: 1000000, pageIndex: 1, name: '' }); + if (data.status == 200 && data.data.length > 0) { + var val_data = data.data; + for (var i in val_data) { + var json = val_data[i].json; + var val = JSON.parse(json) + if (val.length > 0) { + this.layersId = val_data[i].id; + let plottingArr = []; + plottingArr.push(val[0]); + const newArr = arrGroup(plottingArr, (item) => item.name); + let finalPlotting = []; + newArr.map((a) => { + let newObj = {}; + a.map((b) => { + if (newObj.children) { + newObj.children = newObj.children.concat(b.children); + } else { + newObj = b; + } + }); + finalPlotting.push(newObj); + }); + let json = { + name: "姹熻嫃浜ゆ帶鏅烘収楂橀��", + id: 1, + open: true, + children: finalPlotting, + }; + this.initData(json); + } } - ) - .then(() => { - const downloading = this.$loading({ - lock: true, - text: "浼氳淇濋殰鍘嗗彶鏁版嵁鍔犺浇涓紝璇风◢鍚�", - spinner: "el-icon-loading", - background: "rgba(0, 0, 0, 0.7)", - }); - let that = this; - axios({ - method: "GET", - // method: "POST", - // url: "/api/PM20221203225_OpenAPI3_Service-0.0.1-SNAPSHOT/biaoHui/list", - url: "http://10.10.4.121:8070/PM20221203225_OpenAPI3_Service-0.0.1-SNAPSHOT/biaoHui/list", - // data: { - // userId: this.$store.state.userId, - // }, - }).then( - (response) => { - setTimeout(() => { - downloading.close(); - let plottingArr = []; - response.data.result.forEach((item) => { - let geoJsonObj = JSON.parse(item.geojsonString); - plottingArr.push(geoJsonObj[0]); - }); - const newArr = arrGroup(plottingArr, (item) => item.name); - let finalPlotting = []; - newArr.map((a) => { - let newObj = {}; - a.map((b) => { - if (newObj.children) { - newObj.children = newObj.children.concat(b.children); - } else { - newObj = b; - } - }); - finalPlotting.push(newObj); - }); - let json = { - name: "涓�寮犲浘", - id: 1, - open: true, - children: finalPlotting, - }; - that.initData(json); - }, 2000); - }, - (error) => { - setTimeout(() => { - downloading.close(); - // console.log("閿欒", error.message); - this.$message.error("鏁版嵁璇锋眰澶辫触"); - }, 2000); - } - ); - }) - .catch(() => { - this.$message({ - type: "info", - message: "宸插彇娑堝姞杞�", - }); - }); + } + // const downloading = this.$loading({ + // lock: true, + // text: "浼氳淇濋殰鍘嗗彶鏁版嵁鍔犺浇涓紝璇风◢鍚�", + // spinner: "el-icon-loading", + // background: "rgba(0, 0, 0, 0.7)", + // }); + // let that = this; + // axios({ + // method: "GET", + // // method: "POST", + // // url: "/api/PM20221203225_OpenAPI3_Service-0.0.1-SNAPSHOT/biaoHui/list", + // url: "http://10.10.4.121:8070/PM20221203225_OpenAPI3_Service-0.0.1-SNAPSHOT/biaoHui/list", + // // data: { + // // userId: this.$store.state.userId, + // // }, + // }).then( + // (response) => { + // setTimeout(() => { + // downloading.close(); + // + // response.data.result.forEach((item) => { + // let geoJsonObj = JSON.parse(item.geojsonString); + // plottingArr.push(geoJsonObj[0]); + // }); + // const newArr = arrGroup(plottingArr, (item) => item.name); + // let finalPlotting = []; + // newArr.map((a) => { + // let newObj = {}; + // a.map((b) => { + // if (newObj.children) { + // newObj.children = newObj.children.concat(b.children); + // } else { + // newObj = b; + // } + // }); + // finalPlotting.push(newObj); + // }); + // let json = { + // name: "姹熻嫃浜ゆ帶鏅烘収楂橀��", + // id: 1, + // open: true, + // children: finalPlotting, + // }; + // that.initData(json); + // }, 2000); + // }, + // (error) => { + // setTimeout(() => { + // downloading.close(); + // // console.log("閿欒", error.message); + // this.$message.error("鏁版嵁璇锋眰澶辫触"); + // }, 2000); + // } + // ); + + }, // 娓呴櫎鏈湴鎵�鏈夋爣缁樹俊鎭� deleteAllPlot() { @@ -541,7 +529,7 @@ } // 鍒濆瀹氫綅 - document.title = sessionStorage.getItem("SmartEarthTitle") || "涓�寮犲浘"; + document.title = sessionStorage.getItem("SmartEarthTitle") || "姹熻嫃浜ゆ帶鏅烘収楂橀��"; } else { setTimeout(() => { this.loadDataToScene(); @@ -562,9 +550,12 @@ if (addData && node._children) { node._children.forEach((item) => { _treeTool.addData(item); + this.setAddGLBLayer(item); }); } else { + addData && _treeTool.addData(node); + this.setAddGLBLayer(node); } } if (node.children && node.children.length) { @@ -584,11 +575,19 @@ // 鍕鹃�� check(treeNode, data) { let isCheck = data.checkedKeys.indexOf(treeNode.id) > -1; + // 鍕鹃�夎妭鐐� this.checkTreeNode({ id: treeNode.id, checked: isCheck }); // 鏇存柊鍦烘櫙鏁版嵁 _treeTool.checkNode(treeNode, isCheck); + if (treeNode.sourceType === 'GLB') { + if (isCheck) { + model.addModelLayer(treeNode); + } else { + model.setDelGLBModel(treeNode); + } + } // 鍙兘鍚屾椂鍔犺浇涓�涓湴褰� if ( isCheck && @@ -648,7 +647,7 @@ }; this.addData(data, newChild); }) - .catch(() => {}); + .catch(() => { }); }, // 閫夋嫨鏁版嵁 selectData(data) { @@ -705,6 +704,8 @@ case "pathLayer": this.$refs.addPathLayer.open(type, editData, defaultData); break; + + } }, openScene(filedata) { @@ -716,7 +717,7 @@ let json = data.data; this.initData(json); }) - .catch(() => {}); + .catch(() => { }); }, saveScene(data) { let fileName = data.name; @@ -739,7 +740,7 @@ alert("淇濆瓨鎴愬姛锛�"); } }) - .catch(() => {}); + .catch(() => { }); }, // 娣诲姞鏁版嵁鍒板満鏅� addSceneData(data, isEdit) { @@ -765,6 +766,7 @@ // 娣诲姞鏍戣妭鐐� addData(data, value) { !value.rename && (value.rename = false); + this.addTreeChildren({ pid: data && data.id, item: value }); this.expandedNode(data); @@ -784,7 +786,7 @@ addOtherData(parentName, data) { let parentNode = this.getParentNodeByName(parentName); data.checked = true; - + this.setAddGLBLayer(data); if (!parentNode) { parentNode = { id: window.sgworld.Core.getuid(), @@ -799,6 +801,14 @@ } else { this.addData(parentNode, { ...data, item: undefined }); _treeTool.treeData && _treeTool.treeData.set(data.id, data.item); + } + + }, + setAddGLBLayer(res) { + + if (res.sourceType == "GLB" && res.checked) { + + model.addModelLayer(res); } }, // 娣诲姞婕旂ず鍔ㄧ敾 @@ -820,7 +830,7 @@ this.addOtherData("婕旂ず鍔ㄧ敾", data); this.$refs.animationEdit.open(id); }) - .catch(() => {}); + .catch(() => { }); }, //鏇存柊鍔ㄧ敾 updateAnimation(id, data) { @@ -848,7 +858,12 @@ if (treeNode.animationDatas) { this.$refs.animationEdit.start(treeNode.animationDatas); } else { - _treeTool.flyTo(treeNode); + if (treeNode.sourceType === 'GLB') { + model.flyTo(treeNode); + } else { + + _treeTool.flyTo(treeNode); + } } }, select() { @@ -913,7 +928,6 @@ rightClick(e, data, node, comp) { this.isClickParent = !!data.children; this.selectNode = data; - console.log(this.selectNode); this.rightClickMenuStyle = { top: e.pageY + "px", left: e.pageX + "px" }; this.rightClickMenuDisplay = true; document.onclick = (e) => { @@ -926,9 +940,15 @@ }, // 鍙抽敭鍒犻櫎鎸夐挳鐐瑰嚮浜嬩欢 deleteTreeNode() { + if (this.selectNode.sourceType === "GLB") { + model.setDelGLBModel(this.selectNode) + } + this.remove(this.selectNode); this.$refs.tree && this.$refs.tree.setCurrentKey(null); this.selectNode = undefined; + + }, // 鍙抽敭缂栬緫鎸夐挳缂栬緫鏍戣妭鐐� editTreeNode() { @@ -948,6 +968,8 @@ this.selectNode.id, this.selectNode.animationDatas ); + } else if (this.selectNode.sourceType === "GLB") { + model.getEditModelLayer(this.selectNode); } else { this.openThisTypePop(this.selectNode.sourceType, this.selectNode); } @@ -1032,9 +1054,11 @@ /deep/.button-user i { color: #ffffff !important; } + .historyBtn { margin-left: 10px; } + .closeBtn { color: white; position: relative; @@ -1074,6 +1098,7 @@ padding: 10px 0px; box-sizing: border-box; } + .closePanel { position: absolute; right: 12px; @@ -1089,12 +1114,14 @@ z-index: 999; color: white; } + .treeContainer { width: 100%; height: 100%; .treeTitle { margin: 0px 0px 10px 10px; + button { background-color: rgba(155, 155, 155, 0.7) !important; width: 30px; @@ -1103,6 +1130,7 @@ padding: 5px 3px !important; border: none; } + /deep/ .el-upload { margin-right: 10px; } @@ -1119,7 +1147,7 @@ background-color: rgba(245, 247, 250, 0.2); } - /deep/ .el-tree-node:focus > .el-tree-node__content { + /deep/ .el-tree-node:focus>.el-tree-node__content { background-color: rgba(245, 247, 250, 0.2); } @@ -1136,7 +1164,7 @@ } } - /deep/ .el-checkbox > .is-disabled { + /deep/ .el-checkbox>.is-disabled { display: none; } } @@ -1170,6 +1198,7 @@ .rightClickMenu ul li:hover { background-color: #ebeef5; } + .wdzy::-webkit-scrollbar { /*婊氬姩鏉℃暣浣撴牱寮�*/ width: 5px; diff --git a/src/components/left/layerTree/modelEdit.vue b/src/components/left/layerTree/modelEdit.vue new file mode 100644 index 0000000..b284c10 --- /dev/null +++ b/src/components/left/layerTree/modelEdit.vue @@ -0,0 +1,167 @@ +<template> + <div class="modelBox" v-drag> + <div> + <div class="modleTitle "> + <div>妯″瀷缂栬緫</div> + <div class="modelClose" @click="$store.state.isShowEditLayer = false"> X</div> + </div> + </div> + <div class="modelContent"> + <el-form :model="modelOption" label-width="80px"> + <el-form-item label="鍚嶇О"> + <el-input v-model="modelOption.name" @change="setModelFormChange(1)" /> + </el-form-item> + <el-form-item label="缁忓害"> + <el-input-number style="width: 100%;" @change="setModelFormChange(2)" v-model="modelOption.style.longitude" + :step="0.001" /> + </el-form-item> + <el-form-item label="缁村害"> + <el-input-number style="width: 100%;" @change="setModelFormChange(2)" v-model="modelOption.style.latitude" + :step="0.001" /> + </el-form-item> + <el-form-item label="楂樺害"> + <el-input-number style="width: 100%;" @change="setModelFormChange(2)" :min="-100" :max="1000" + v-model="modelOption.style.altitude" :step="1" /> + </el-form-item> + <el-form-item label="鍋忕Щ瑙掑害"> + <el-input-number style="width: 100%;" @change="setModelFormChange(2)" :min="-180" :max="180" + v-model="modelOption.style.heading" :step="1" /> + </el-form-item> + <el-form-item label="淇话瑙掑害"> + <el-input-number style="width: 100%;" @change="setModelFormChange(2)" :min="-90" :max="90" + v-model="modelOption.style.pitch" :step="1" /> + </el-form-item> + <el-form-item label="鏃嬭浆瑙掑害"> + <el-input-number style="width: 100%;" @change="setModelFormChange(2)" :min="-90" :max="90" + v-model="modelOption.style.roll" :step="1" /> + </el-form-item> + <el-form-item label="姣斾緥"> + <el-input-number style="width: 100%;" @change="setModelFormChange(2)" :min="0.1" :step="0.1" :max="10" + v-model="modelOption.style.scale" /> + </el-form-item> + </el-form> + </div> + + + </div> +</template> + +<script> +import model from '../../../assets/js/Layer/model'; + + +export default { + name: "modelEdit", + components: { + + }, + + data() { + return { + modelOption: { + id: null, + sourceType: null, + name: "", + style: { + url: null, + name: null, + altitude: null, + longitude: null, + latitude: null, + heading: null, + pitch: null, + roll: null, + scale: null, + url: null, + id: null, + sourceType: null, + } + }, + }; + }, + mounted() { + this.setLayerStart(); + }, + destroyed() { + + }, + methods: { + setModelFormChange(res) { + if (res == 1) { + this.modelOption.style.name = this.modelOption.name; + } + model.setEditChanege(this.modelOption, res); + + }, + setLayerStart() { + this.modelOption = model.form; + }, + + } +}; +</script> + +<style scoped lang="less"> +.modelBox { + width: 360px; + height: 60%; + border: 1px solid white; + top: 70px; + right: 20px; + background-color: rgba(0, 0, 0, 0.6); // #0048fd69 !important + z-index: 9999; + position: absolute; + + .modleTitle { + height: 42px; + width: 90%; + background: #0048fd69 !important; + border-bottom: 1px solid white; + color: white; + font-weight: 700px; + display: flex; + justify-content: space-between; + align-items: center; + padding: 0% 5%; + + .modelClose { + height: 16px; + width: 16px; + display: flex; + align-items: center; + justify-content: center; + background: rgba(128, 128, 128, 0.6); + font-size: 14x; + } + } + + .modelContent { + width: 90%; + height: calc(95% - 42px); + margin: 5%; + display: flex; + justify-content: space-between; + flex-flow: row wrap; + + .modelType { + width: 47.5%; + height: 20%; + border: 1px solid #909399; + + .imgIcon { + width: 100%; + height: 100%; + } + + } + + .modelType :hover { + border: 1px solid #409EFF; + } + } + + /deep/.el-form-item__label { + color: white; + } +} +</style> diff --git a/src/components/left/layerTree/modelLayer.vue b/src/components/left/layerTree/modelLayer.vue new file mode 100644 index 0000000..a7bbd76 --- /dev/null +++ b/src/components/left/layerTree/modelLayer.vue @@ -0,0 +1,113 @@ +<template> + <div class="modelBox" v-drag > + <div> + <div class="modleTitle " > + <div>妯″瀷娣诲姞</div> + <div class="modelClose" @click="$store.state.showModelFlag = false"> X</div> + </div> + </div> + <div class="modelContent"> + <div class="modelType" v-for="(item, index) in modelOption" :key="index" @click="setModelAddLayer(item)"> + <img class="imgIcon" :src="require('../../../assets/img/model/' + item.imgUrl)" /> + </div> + </div> + + + </div> +</template> + +<script> +import model from '../../../assets/js/Layer/model'; + +export default { + name: "modelLayer", + components: { + + }, + + data() { + return { + modelOption: [ + + ], + }; + }, + mounted() { + this.setLayerStart(); + }, + destroyed() { + + }, + methods: { + setLayerStart() { + this.modelOption = layerData.modelData; + + }, + setModelAddLayer(item) { + // model + model.changeLayer(item,true); + }, + } +}; +</script> + +<style scoped lang="less"> +.modelBox { + width: 360px; + height: 60%; + border: 1px solid white; + top: 70px; + right: 20px; + background-color: rgba(0, 0, 0, 0.6); // #0048fd69 !important + z-index: 9999; + position: absolute; + + .modleTitle { + height: 42px; + width: 90%; + background: #0048fd69 !important; + border-bottom: 1px solid white; + color: white; + font-weight: 700px; + display: flex; + justify-content: space-between; + align-items: center; + padding: 0% 5%; + + .modelClose { + height: 16px; + width: 16px; + display: flex; + align-items: center; + justify-content: center; + background: rgba(128, 128, 128, 0.6); + font-size: 14x; + } + } + + .modelContent { + width: 90%; + height: calc(95% - 42px); + margin: 5%; + display: flex; + justify-content: space-between; + flex-flow: row wrap; + + .modelType { + width: 47.5%; + height: 20%; + border: 1px solid #909399; + + .imgIcon { + width: 100%; + height: 100%; + } + + } + + .modelType :hover { + border: 1px solid #409EFF; + } + } +} +</style> diff --git a/src/components/map/history.vue b/src/components/map/history.vue index b7c4e77..f5372ce 100644 --- a/src/components/map/history.vue +++ b/src/components/map/history.vue @@ -46,8 +46,9 @@ target: "mapContainer", layers: [], view: new View({ - center: olProj.fromLonLat([108.945951, 34.465262]), + center: [105.02, 34.9], zoom: 5, + projection: "EPSG:4326", }), controls: [], }); diff --git a/src/components/map/viewer.vue b/src/components/map/viewer.vue index b860b00..b07f43c 100644 --- a/src/components/map/viewer.vue +++ b/src/components/map/viewer.vue @@ -42,6 +42,7 @@ import jiejing from "@/assets/img/new/jiejing.png"; import "animate.css"; import Bus from "@tools/Bus"; +import mapViewer from "../../assets/js/Layer/mapViewer"; let activeLi, nLayer, LWLayer; export default { @@ -132,8 +133,8 @@ Viewer.scene.globe.translucency.frontFaceAlpha = 0.5; Viewer.scene.globe.undergroundColor = undefined; //寮�鍚紪杈戝苟鍚敤灞炴�у脊绐� - sgworld.Creator.SimpleGraphic.setEdit(true, { - editProp: true, + sgworld.Creator.SimpleGraphic.setEdit(false, { + editProp: false, editPropData: { offset: "r", height: "60%", @@ -196,6 +197,8 @@ //鍒濆鍖栧脊绐椾簨浠� // that.showBottom(); that.initLayerOpen(); + //娣诲姞榧犳爣鐐瑰嚮浜嬩欢 + mapViewer.addClick(); }); let size = this.detectZoom(); this.scale = (100 / size).toFixed(2); diff --git a/src/components/menu/bottom-menu.vue b/src/components/menu/bottom-menu.vue index 64669ea..3196d13 100644 --- a/src/components/menu/bottom-menu.vue +++ b/src/components/menu/bottom-menu.vue @@ -289,7 +289,7 @@ let video4; let heatMapItem; import { mapState, mapMutations } from "vuex"; -import { queryBySquare } from "@/utils/request"; +// import { queryBySquare } from "@/utils/request"; import Bus from "../tools/Bus"; import { roman } from "../../assets/json/index.js"; import URLInCode from "@/assets/js/urlInCode"; diff --git a/src/components/menu/menulist.vue b/src/components/menu/menulist.vue index 16e585d..dd349c2 100644 --- a/src/components/menu/menulist.vue +++ b/src/components/menu/menulist.vue @@ -12,6 +12,14 @@ :src="switchMenuImage" /> <div class="menubtnlist" v-show="panelActive"> + <div class="menubtn" @click="showSceneCard()"> + <img + class="bhImg" + title="鍦烘櫙鏁版嵁" + src="@/assets/img/left/specialeffect4.png" + /> + <span>鍦烘櫙</span> + </div> <div class="menubtn" @click="setMenuTool(1)"> <img class="bhImg" title="鏍囩粯" src="@/assets/img/right/bh1.png" /> <span>鏍囩粯</span> @@ -24,14 +32,15 @@ <img class="bhImg" title="婕父" src="@/assets/img/right/my11.png" /> <span>婕父</span> </div> - <!-- <div class="menubtn" @click="setMenuTool(4)"> + <div class="menubtn" @click="showModelCard()"> <img class="bhImg" title="涓撻" src="@/assets/img/left/specialanalyse4.png" /> - <span>涓撻</span> - </div> --> + <span>妯″瀷</span> + </div> + <div class="menubtn" @click="setMenuTool(5)"> <img class="bhImg" title="鍒嗘瀽" src="@/assets/img/right/cx-s.png" /> <span>鍒嗘瀽</span> @@ -52,6 +61,7 @@ /> <span>璁剧疆</span> </div> + </div> </div> <div class="menutools"> @@ -282,6 +292,12 @@ showSettingCard() { this.$store.commit("showSetBox", true); }, + showModelCard(){ + this.$store.commit("showModelBox", true); + }, + showSceneCard(){ + this.$store.commit("showSceneBox", ""); + }, closeAllHighLight(type) { // !(type == "plotting") && this.$refs.plotting.clearHighLight(); // !(type == "roam") && this.$refs.roam.clearActive(); diff --git a/src/components/right/right-bottom.vue b/src/components/right/right-bottom.vue index d6534fa..a7f33c7 100644 --- a/src/components/right/right-bottom.vue +++ b/src/components/right/right-bottom.vue @@ -36,7 +36,7 @@ popper-class="item_tooltip" > <div class="legend-bg" @click="fovViewer"> - <img class="dwImg" src="@/assets/img/new/location.png" /> + <img class="dwImg" src="@/assets/img/new/mapSplit.png" /> </div> </el-tooltip> </div> @@ -303,6 +303,7 @@ let _index = 0; import rightLegend from "./right-legend"; import Bus from "../tools/Bus"; +import { mapState, mapMutations } from "vuex"; export default { name: "right-bottom", components: { @@ -339,7 +340,11 @@ isActive: true, }; }, + computed: { + ...mapState(["viewer1Show", "isLand", "yqfk", "qyEchartsShow"]), + }, mounted() { + //鍏抽棴鎴戠殑璧勬簮寮圭獥 Bus.$on("closeLegendPop", (data) => { if (data) { @@ -351,6 +356,7 @@ Bus.$off("closeLegendPop"); }, methods: { + ...mapMutations(["setViewer1Show", "setqyEchartsShow"]), // 鐩告満鍙傛暟 getcamera() { let p = sgworld.Navigate.getCameraInfo(); @@ -405,13 +411,14 @@ } }, fovViewer() { - this.isWideAngle = !this.isWideAngle; - if (this.isWideAngle) { - this.wideAngle = window.Viewer.camera.frustum.fov; - window.Viewer.camera.frustum.fov = 2; - } else { - window.Viewer.camera.frustum.fov = this.wideAngle; - } + this.setViewer1Show(!this.viewer1Show); + // this.isWideAngle = !this.isWideAngle; + // if (this.isWideAngle) { + // this.wideAngle = window.Viewer.camera.frustum.fov; + // window.Viewer.camera.frustum.fov = 2; + // } else { + // window.Viewer.camera.frustum.fov = this.wideAngle; + // } }, flyBack() { sgworld.Navigate.flyToPointsInterest({ diff --git a/src/components/right/right-top.vue b/src/components/right/right-top.vue index 7a685c4..cf8be6d 100644 --- a/src/components/right/right-top.vue +++ b/src/components/right/right-top.vue @@ -1,50 +1,27 @@ <template> <div class="trigger" style="margin-top: 140px; margin-right: 10px"> - <div class="user"> - <el-avatar - class="user_btn" - :size="70.6" - icon="el-icon-user-solid" - alt="涓汉涓績" - ></el-avatar> + <!-- <div class="user"> + <el-avatar class="user_btn" :size="70.6" icon="el-icon-user-solid" alt="涓汉涓績"></el-avatar> <div class="transition-box"> <ul> <li @click="showLayer()">鏍囩粯鏁版嵁</li> - <!-- <li @click="dialogFormVisible = true">淇敼瀵嗙爜</li> --> + <li @click="dialogFormVisible = true">淇敼瀵嗙爜</li> </ul> </div> - </div> - <el-dialog - append-to-body - title="淇敼瀵嗙爜" - :visible.sync="dialogFormVisible" - width="30%" - :close-on-click-modal="false" - custom-class="psdDialog" - > + </div> --> + <el-dialog append-to-body title="淇敼瀵嗙爜" :visible.sync="dialogFormVisible" width="30%" :close-on-click-modal="false" + custom-class="psdDialog"> <el-form :model="form" ref="pwdForm" :rules="rules"> <el-form-item label="鍘熷瘑鐮�"> - <el-input - show-password - v-model="form.oldPassword" - autocomplete="off" - ></el-input> + <el-input show-password v-model="form.oldPassword" autocomplete="off"></el-input> </el-form-item> <el-form-item label="鏂板瘑鐮�" prop="newPassword"> - <el-input - show-password - v-model="form.newPassword" - autocomplete="off" - ></el-input> + <el-input show-password v-model="form.newPassword" autocomplete="off"></el-input> </el-form-item> <el-form-item label="纭瀵嗙爜" prop="checkPassword"> - <el-input - show-password - v-model="form.checkPassword" - autocomplete="off" - ></el-input> + <el-input show-password v-model="form.checkPassword" autocomplete="off"></el-input> </el-form-item> </el-form> <div slot="footer" class="dialog-footer"> @@ -69,7 +46,11 @@ </div> --> - <div class="user_menu" v-show="isShowLayer"><Layer ref="Layer" /></div> + <div class="user_menu" v-show="$store.state.isShowLayer"> + <Layer ref="Layer" /> + </div> + <model-layer v-show="$store.state.showModelFlag"></model-layer> + <model-edit v-if="$store.state.isShowEditLayer"></model-edit> <querydata ref="drawer" /> <div class="resByMouseBox" v-if="showRangeBox"> @@ -85,13 +66,13 @@ <div class="listBox" v-for="(son, index) in fa" :key="index"> {{ son.properties["閮ㄤ欢缂栫爜"] - ? son.properties["閮ㄤ欢缂栫爜"] - : son.properties["浜曠紪鍙�"] + ? son.properties["閮ㄤ欢缂栫爜"] + : son.properties["浜曠紪鍙�"] }} {{ son.properties["閮ㄤ欢鍚嶇О"] - ? son.properties["閮ㄤ欢鍚嶇О"] - : son.properties["浜曞悕绉�"] + ? son.properties["閮ㄤ欢鍚嶇О"] + : son.properties["浜曞悕绉�"] }} <el-link @click.stop="showDetail(son)">璇︽儏</el-link> @@ -146,12 +127,7 @@ <div class="right-close" v-show="isShow" @click="simulationHoverOff"> 脳 </div> - <el-tabs - type="border-card" - :tab-position="tabPosition" - v-model="activeName" - @tab-click="tabclick" - > + <el-tabs type="border-card" :tab-position="tabPosition" v-model="activeName" @tab-click="tabclick"> <div v-show="isShowLocation" class="rightcontent"> <transition name="el-fade-in-linear"> <location v-show="isShowLocation" ref="location" /> @@ -159,12 +135,7 @@ </div> <el-tab-pane label="鏍囩粯" name="鏍囩粯"> <span slot="label" @click="simulationHoverOn('鏍囩粯')"> - <img - class="bhImg" - title="鏍囩粯" - v-if="!isShowPlotting" - src="@/assets/img/right/bh1.png" - /> + <img class="bhImg" title="鏍囩粯" v-if="!isShowPlotting" src="@/assets/img/right/bh1.png" /> <img v-else title="鏍囩粯" src="@/assets/img/right/bh-l.png" /> </span> <div v-show="isShowPlotting" class="rightcontent"> @@ -175,12 +146,7 @@ </el-tab-pane> <el-tab-pane label="閲忕畻" name="閲忕畻"> <span slot="label" @click="simulationHoverOn('閲忕畻')"> - <img - class="lsImg" - title="閲忕畻" - v-if="!isShowMeasure" - src="@/assets/img/right/ls-s.png" - /> + <img class="lsImg" title="閲忕畻" v-if="!isShowMeasure" src="@/assets/img/right/ls-s.png" /> <img v-else title="閲忕畻" src="@/assets/img/right/ls-l.png" /> </span> <div v-show="isShowMeasure" class="rightcontent"> @@ -191,12 +157,7 @@ </el-tab-pane> <el-tab-pane label="绌洪棿鏌ヨ" name="绌洪棿鏌ヨ"> <span slot="label" @click="simulationHoverOn('绌洪棿鏌ヨ')"> - <img - class="cxImg" - title="绌洪棿鏌ヨ" - v-if="!isShowQuery" - src="@/assets/img/right/cx-s.png" - /> + <img class="cxImg" title="绌洪棿鏌ヨ" v-if="!isShowQuery" src="@/assets/img/right/cx-s.png" /> <img v-else title="绌洪棿鏌ヨ" src="@/assets/img/right/cx-ll.png" /> </span> <div v-show="isShowQuery" class="rightcontent"> @@ -207,12 +168,7 @@ </el-tab-pane> <el-tab-pane label="婕父" name="婕父"> <span slot="label" @click="simulationHoverOn('婕父')"> - <img - class="myImg" - title="婕父" - v-if="!isShowRoam" - src="@/assets/img/right/my11.png" - /> + <img class="myImg" title="婕父" v-if="!isShowRoam" src="@/assets/img/right/my11.png" /> <img v-else title="婕父" src="@/assets/img/right/my-l.png" /> </span> <div v-show="isShowRoam" class="rightcontent"> @@ -227,16 +183,8 @@ </el-tab-pane> --> <el-tab-pane label="涓撻鍒嗘瀽" name="涓撻鍒嗘瀽"> <span slot="label" @click="simulationHoverOn('涓撻鍒嗘瀽')"> - <img - class="specialImg" - v-if="!isShowSpeAnalyseImg" - src="@/assets/img/left/specialanalyse4.png" - /> - <img - class="specialImg" - v-else - src="@/assets/img/left/specialanalyse4-s.png" - /> + <img class="specialImg" v-if="!isShowSpeAnalyseImg" src="@/assets/img/left/specialanalyse4.png" /> + <img class="specialImg" v-else src="@/assets/img/left/specialanalyse4-s.png" /> </span> <div v-show="isShowSpeAnalyse" class="leftContent"> <leftztfx ref="ZTFX" /> @@ -244,25 +192,16 @@ </el-tab-pane> <el-tab-pane label="鐗规晥" name="鐗规晥"> <span slot="label" @click="simulationHoverOn('鐗规晥')"> - <img - class="speEffectImg" - v-if="!isShowSpeEffectImg" - src="@/assets/img/left/specialeffect4.png" - /> - <img - class="speEffectImg" - v-else - src="@/assets/img/left/specialeffect4-s.png" - /> + <img class="speEffectImg" v-if="!isShowSpeEffectImg" src="@/assets/img/left/specialeffect4.png" /> + <img class="speEffectImg" v-else src="@/assets/img/left/specialeffect4-s.png" /> </span> <div v-show="isShowSpeEffect" class="leftContent"> <lefttx ref="TX" /> </div> </el-tab-pane> <el-tab-pane label="娓呴櫎" name="娓呴櫎"> - <span slot="label" @click="simulationHoverOn('娓呴櫎')" - ><img title="娓呴櫎" class="qcImg" src="@/assets/img/right/qc-s.png" - /></span> + <span slot="label" @click="simulationHoverOn('娓呴櫎')"><img title="娓呴櫎" class="qcImg" + src="@/assets/img/right/qc-s.png" /></span> </el-tab-pane> </el-tabs> </div> @@ -304,6 +243,7 @@ z-index: 1000; box-sizing: border-box; } + .resByMouseBox .closeBtn { color: #fff; position: absolute; @@ -311,9 +251,11 @@ top: 3px; font-size: 24px; } + .el-link.el-link--default { color: #409eff; } + .detailBox { width: 200px; /* height: 300px; */ @@ -327,6 +269,7 @@ padding: 20px 10px 10px; position: relative; } + .detailcCloseBtn { font-size: 24px; position: absolute; @@ -334,6 +277,7 @@ top: 5px; /* float: right; */ } + .detailBox :not(:first-child) { margin-top: 5px; } @@ -394,9 +338,11 @@ margin-top: 0px !important; /* border-radius: 3px !important; */ } + .user:hover .transition-box { display: block; } + .transition-box { display: none; width: 130px; @@ -411,19 +357,23 @@ box-sizing: border-box; z-index: 9999; } + .transition-box ul li { /* min-width: 154px; */ height: 35px; text-align: center; line-height: 35px; } + .transition-box ul li:hover { background: rgba(18, 80, 172, 0.6); box-shadow: 0px 0px 10px 5px rgba(0, 132, 255, 0.7) inset; } + .psdDialog .el-form-item { margin-bottom: 0px; } + /* .psdDialog, .psdDialog /deep/ .el-pager li { background-color: rgba(255, 0, 0, 0.0); @@ -489,6 +439,7 @@ .trigger { pointer-events: all; } + .specialTool { position: absolute; bottom: 60px; @@ -512,6 +463,7 @@ cursor: pointer; /* box-shadow: 0px 0px 5px 5px #fff; */ } + .top-btn-active { background: #0987ff !important; } @@ -678,19 +630,23 @@ margin: 1px; margin: 20px 0; } -.searchElBg{ + +.searchElBg { background-image: url("~@/assets/img/new/leftCircle.png") !important; background-size: 48px 48px !important; } + .searchBtn { margin-top: 3px; width: 40px; pointer-events: none; } -.searchElBg:hover{ + +.searchElBg:hover { background-image: url("~@/assets/img/new/leftCircle-y.png") !important; background-size: 48px 48px !important; } + .searchBg { position: absolute; left: -4px; @@ -699,6 +655,7 @@ height: 56px; z-index: -10; } + .active { background: #0987ff !important; } @@ -711,9 +668,11 @@ height: 71px; background-image: url("~@/assets/img/new/rightCircle.png"); } + .user:hover { background-image: url("~@/assets/img/new/rightCircle-y.png"); } + .user .el-avatar { background-color: transparent; margin: 3px auto 0; @@ -723,6 +682,7 @@ margin-right: 0px !important; font-size: 28.9px; } + .fcfhBox { position: relative; top: -50px; @@ -731,33 +691,40 @@ background-color: rgba(24, 87, 175, 0.7); border-radius: 4px; } + .fcfhactive { background-color: #17a8fc !important; } + .fcfhBox button { background-color: rgba(24, 64, 118, 1); } + .closeBtn { font-size: 24px; color: #fff; vertical-align: top; margin-left: 5px; } + .resByMouseBox /deep/ .el-collapse-item__header { background-color: transparent; color: #fff; height: 37px; padding-left: 15px; } + .resByMouseBox /deep/ .el-collapse-item__wrap { background-color: transparent; /* color: #fff; */ /* height: 37px; */ /* padding-left: 15px; */ } + .bottomWrap { margin-top: 28px; } + .bottomWrap /deep/ .el-collapse-item__content { /* max-height: 308px; */ /* overflow: auto; */ @@ -765,6 +732,7 @@ padding-left: 15px; padding-bottom: 0; } + .listBox { width: 90%; margin: 3px 0; @@ -788,9 +756,10 @@ import common from "@/components/common"; import { mapState, mapMutations } from "vuex"; import Bus from "../tools/Bus"; -import { queryBySquare } from "@/utils/request"; +// import { queryBySquare } from "@/utils/request"; import FCFH from "@/components/right/FCFH"; - +import modelLayer from "@/components/left/layerTree/modelLayer.vue"; +import modelEdit from '@/components/left/layerTree/modelEdit.vue'; //浜ら�氬浘灞� let trafficLayer, panoramaLayer; let flyPoint; @@ -807,6 +776,8 @@ lefttx, Layer, FCFH, + modelLayer, + modelEdit }, name: "right-top", data() { @@ -1306,7 +1277,7 @@ closeall() { try { this.$refs.measure.clearMeasure(); - } catch (e) {} + } catch (e) { } this.isShow = false; this.isShowLocation = false; this.isShowPlotting = false; @@ -1367,7 +1338,7 @@ layuiLayer.close(SmartEarthPopupData.layerProp); sgworld.drawObj && (sgworld.drawObj.drawHandler && sgworld.drawObj.drawHandler.destroy(), - sgworld.drawObj.end && sgworld.drawObj.end()); + sgworld.drawObj.end && sgworld.drawObj.end()); this.isShowInput = !this.isShowInput; !this.isShowInput && this.$refs.search.clear(); @@ -1379,7 +1350,7 @@ layuiLayer.close(SmartEarthPopupData.layerProp); sgworld.drawObj && (sgworld.drawObj.drawHandler && sgworld.drawObj.drawHandler.destroy(), - sgworld.drawObj.end && sgworld.drawObj.end()); + sgworld.drawObj.end && sgworld.drawObj.end()); this.isShowLocation = !this.isShowLocation; if (!this.isShowLocation) { @@ -1412,7 +1383,7 @@ layuiLayer.close(SmartEarthPopupData.layerProp); sgworld.drawObj && (sgworld.drawObj.drawHandler && sgworld.drawObj.drawHandler.destroy(), - sgworld.drawObj.end && sgworld.drawObj.end()); + sgworld.drawObj.end && sgworld.drawObj.end()); this.isShowTraffic = !this.isShowTraffic; diff --git a/src/main.js b/src/main.js index 6f54981..1b0ffd3 100644 --- a/src/main.js +++ b/src/main.js @@ -16,7 +16,8 @@ // 寮曞叆echarts import * as echarts from 'echarts'; Vue.prototype.$echarts = echarts - +import drag from './assets/js/drag'; +Vue.directive("drag",drag); Vue.use(contentmenu) Vue.config.productionTip = false diff --git a/src/store/index.js b/src/store/index.js index aa388bb..03671e0 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1,6 +1,7 @@ import Vue from "vue"; import Vuex from "vuex"; import createPersistedState from "vuex-persistedstate"; //鎸佷箙鍖栨墍鏈塻tate +import mapSplit from "./mapSplit"; // import { login } from '@/api/api'; // var encrypt = new JSEncrypt(); @@ -33,7 +34,11 @@ selectedLayers: [], userId: "", userName: "", - // layerData: {} + showModelFlag:false,//妯″瀷娣诲姞缂栬緫 + isShowLayer:false, + addModelFlag:false, + addModelLayer:null, + isShowEditLayer:false, }, mutations: { selectedLayer(state, b) { @@ -58,10 +63,13 @@ }, setViewer1Show(state, b) { state.viewer1Show = b; + if (b) { + mapSplit.init(); + } }, setqyEchartsShow(state, b) { state.qyEchartsShow = b; - console.log(b); + }, setLayerTreeTwoScreen(state, b) { state.layerTreeTwoScreen = b; @@ -81,8 +89,14 @@ }, showSetBox(state, b) { state.showSetting = b; + console.log(b) }, - + showModelBox(state,b){ + state.showModelFlag = b; + }, + showSceneBox(state,b){ + state.isShowLayer = !state.isShowLayer; + }, // 瀹氫箟宸ョ▼鏍戞暟鎹� setTreeData(state, data = []) { ergodicNode(data); diff --git a/src/store/mapSplit.js b/src/store/mapSplit.js new file mode 100644 index 0000000..9b4ebdd --- /dev/null +++ b/src/store/mapSplit.js @@ -0,0 +1,120 @@ +const mapSplit = { + levelArray: [ + 0, 40000000, 20000000, 10000000, 5000000, 2000000, 1000000, 500000, + 250000, 200000, 100000, 50000, 17000, 9000, 5000, 2000, 1000, 500, 200, + 100, 50, 25, 10, 0, + ], + isSplitFlag: 0, + init() { + setTimeout(() => { + window.map.updateSize(); + this.showSplitMap(); + this.isSplitFlag = 1; + this.skdToOl(); + }, 500) + + + }, + skdToOl() { + var position = window.Viewer.camera.position + + var ellipsoid = window.Viewer.scene.globe.ellipsoid; + var cartographic = ellipsoid.cartesianToCartographic(position) + var lat = Cesium.Math.toDegrees(cartographic.latitude) + var lng = Cesium.Math.toDegrees(cartographic.longitude) + var level = this.getLevel(cartographic.height) + console.log(lng, lat, level) + window.map.getView().setCenter([parseFloat(lng), parseFloat(lat)]) + window.map.getView().setZoom(level) + }, + getLevel(height) { + var levelArray = this.levelArray; + for (var i = 1, len = levelArray.length; i < len - 1; i++) { + if (height >= (levelArray[i] + levelArray[i + 1]) / 2) { + return i + } + } + return levelArray.length - 1 + }, + getHeight(level) { + var levelArray = this.levelArray; + if (level > 0 && level < 23) { + return levelArray[level] + } + return levelArray[levelArray.length - 1] + }, + showSplitMap() { + var that = this; + $("#mapView") + .off() + .on("mousemove", function () { + if (that.isSplitFlag == 1) { + window.Viewer.camera.changed.addEventListener(that.skdToOl()) + } + }) + .on("mouseout", function () { + if (that.isSplitFlag == 1) { + window.Viewer.camera.changed.removeEventListener(that.skdToOl()) + } + }); + let mapZoomAndMove = function (event) { + var position = window.map.getView().getCenter() + + + var pos = position + var level = that.getHeight(parseInt(window.map.getView().getZoom())) + + window.Viewer.camera.setView({ + destination: Cesium.Cartesian3.fromDegrees(pos[0], pos[1], level), + }) + } + $("#mapOl") + .off() + .on("mousemove", function () { + if (that.isSplitFlag == 1) { + that.olzoomAndMove(mapZoomAndMove) + } + }) + .on("mouseout", function () { + if (that.isSplitFlag == 1) { + that.clearolzoomAndMove() + } + }) + }, clearolzoomAndMove() { + let registerOnZoomArr = window.map.get("registerOnZoom") + if (registerOnZoomArr && registerOnZoomArr.length > 0) { + for (let i = 0; i < registerOnZoomArr.length; i++) { + window.map.un("moveend", registerOnZoomArr[i]) + } + } + }, olzoomAndMove(eventListen, notListenMove) { + // 璁板綍鍦板浘缂╂斁锛岀敤浜庡垽鏂嫋鍔� + window.map.lastZoom = + window.map.lastZoom || window.map.getView().getZoom() + // 鍦板浘缂╂斁浜嬩欢 + let registerOnZoom = function (e) { + // 涓嶇洃鍚湴鍥炬嫋鍔ㄤ簨浠� + if (notListenMove) { + if (window.map.lastZoom != window.map.getView().getZoom()) { + eventListen && eventListen(e) + } + } else { + eventListen && eventListen(e) + } + window.map.lastZoom = window.map.getView().getZoom() + } + // 淇濆瓨缂╂斁鍜屾嫋鍔ㄤ簨浠跺璞★紝鐢ㄤ簬鍚庢湡绉婚櫎 + let registerOnZoomArr = map.get("registerOnZoom") || [] + + registerOnZoomArr.push(registerOnZoom) + + // 浣跨敤鍦板浘 set 鏂规硶淇濆瓨浜嬩欢瀵硅薄 + window.map.set("registerOnZoom", registerOnZoomArr) + + // 鐩戝惉鍦板浘绉诲姩缁撴潫浜嬩欢 + window.map.on("moveend", registerOnZoom) + + return eventListen + }, +} +export default mapSplit; \ No newline at end of file diff --git a/src/utils/request.js b/src/utils/request.js index 1123155..eac667c 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -1,72 +1,10 @@ -import axios from "axios"; -// import { Message } from "element-ui"; -// import router from "../router" -// create an axios instance +import axios from "axios"; + const service = axios.create({ - baseURL: 'http://10.10.4.116:8089/', // api鐨刡ase_url - timeout: 35000, // 璇锋眰瓒呮椂鏃堕棿 - headers: { - "content-type": "application/json;charset=UTF-8", - }, - withCredentials: true, + baseURL: layerData.config.BASE_URL, // api鐨刡ase_url + timeout: -1, // 璇锋眰瓒呮椂鏃堕棿 + }); -const GISSERVER = axios.create({ - baseURL: 'http://10.10.4.116:8070/gisserver/', // api鐨刡ase_url - timeout: 35000, // 璇锋眰瓒呮椂鏃堕棿 -}); -// gisserver 鍚嶅瓧鏌ヨ -// export function queryPOI(servername, layer, name) { -// return GISSERVER.get("wfsserver/" + servername + "?version=1.3.0&request=GetFeature&format=json&typename=" + layer + "&propertyname=*&filter=%3CFilter%3E%3CPropertyIsLike+wildCard%3D%22*%22%3E%3CPropertyName%3E%E4%BA%95%E7%BC%96%E5%8F%B7%3C%2FPropertyName%3E%3CLiteral%3E" + name + "%3C%2FLiteral%3E%3C%2FPropertyIsLike%3E%3C%2FFilter%3E"); -// } -// // gisserver 鑼冨洿鏌ヨ -export function queryBySquare(url, layer, area) { - return GISSERVER.get(url, { - params: { - version: '1.3.0', - request: 'GetFeature', - typename: layer, - propertyname: '*', - format: "json", - filter: `<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"><ogc:Intersects><ogc:PropertyName /><gml:Polygon xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:4326"><gml:exterior><gml:LinearRing><gml:posList>${area}</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></ogc:Intersects></ogc:Filter>`, - } - }); -} -// request interceptor -service.interceptors.request.use( - (config) => { - // 璇锋眰鎼哄甫token - const token = window.localStorage.getItem('TokenKey'); - if (token) { - config.headers["Authorization"] = token; - } - return config; - }, - (error) => { - return Promise.reject(error); - } -); -service.interceptors.response.use( - (response) => { - //鐧诲綍涔嬪悗鏈塼oken - if (window.localStorage.getItem('TokenKey') != null) { - // console.log(response); - // if (response.data.code !== 200) { - // router.push('/login'); - // localStorage.removeItem("TokenKey"); - // localStorage.removeItem("TokenTime"); - // } - // //token杩囨湡杩斿洖鐧诲綍椤� - // if (response.data.code == 500104) { - // router.push('/login') - // localStorage.removeItem("TokenKey"); - // localStorage.removeItem("TokenTime"); - // } - } - return response.data; - }, - (error) => { - return Promise.reject(error); - } -); -export default service; + +export default service; \ No newline at end of file diff --git a/static/SmartEarthSDK/Workers/TreeTool.js b/static/SmartEarthSDK/Workers/TreeTool.js index 93a91a1..b58c86d 100644 --- a/static/SmartEarthSDK/Workers/TreeTool.js +++ b/static/SmartEarthSDK/Workers/TreeTool.js @@ -9,7 +9,7 @@ this.sgworld = sgworld this.treeData = new Map() this.colorTool = sgworld.Core.gradientColor(); - this.sgwfs = new window.SmartEarth.WFSTool(sgworld._Viewer,Cesium) + this.sgwfs = new window.SmartEarth.WFSTool(sgworld._Viewer, Cesium) } /** @@ -1027,6 +1027,9 @@ } else { layer = this.getData(id); } + if (!layer) { + return + } if (layer && layer.sourceType === "DynamicSatellite") { let obj = (layer.item || layer) obj.dtwxzsData.setVisibility(isShow); diff --git a/static/data/layerData.js b/static/data/layerData.js new file mode 100644 index 0000000..4d2e79e --- /dev/null +++ b/static/data/layerData.js @@ -0,0 +1,56 @@ +var webhost = location.hostname; +var host = location.host; +var web_URL = "http://" + webhost; + +const layerData = { + config: { + + BASE_URL: "http://" + host + "/JiangSu", + img_url: "http://" + host + "/static/image/", + Model_URL: web_URL + "/JiangSu", + }, + modelData: [ + { + id: 'md1', + name: '闅旂甯�', + url: '/Data/glb/闅旂甯�.glb', + imgUrl: '闅旂甯�.png' + }, + { + id: 'md2', + name: '娴嬭瘯妯″瀷2', + url: '/Data/glb/Cesium_Air.glb', + imgUrl: '椋炴満.png' + }, { + id: 'md3', + name: '娴嬭瘯妯″瀷3', + url: '/Data/glb/Cesium_Air.glb', + imgUrl: '椋炴満.png' + }, { + id: 'md4', + name: '娴嬭瘯妯″瀷4', + url: '/Data/glb/Cesium_Air.glb', + imgUrl: '椋炴満.png' + }, { + id: 'md5', + name: '娴嬭瘯妯″瀷5', + url: '/Data/glb/Cesium_Air.glb', + imgUrl: '椋炴満.png' + }, { + id: 'md6', + name: '娴嬭瘯妯″瀷6', + url: '/Data/glb/Cesium_Air.glb', + imgUrl: '椋炴満.png' + }, { + id: 'md7', + name: '娴嬭瘯妯″瀷7', + url: '/Data/glb/Cesium_Air.glb', + imgUrl: '椋炴満.png' + }, { + id: 'md8', + name: '娴嬭瘯妯″瀷8', + url: '/Data/glb/Cesium_Air.glb', + imgUrl: '椋炴満.png' + }, + ] +} \ No newline at end of file diff --git "a/static/image/\351\232\224\347\246\273\345\270\246.png" "b/static/image/\351\232\224\347\246\273\345\270\246.png" new file mode 100644 index 0000000..c15c209 --- /dev/null +++ "b/static/image/\351\232\224\347\246\273\345\270\246.png" Binary files differ diff --git "a/static/image/\351\243\236\346\234\272.png" "b/static/image/\351\243\236\346\234\272.png" new file mode 100644 index 0000000..9b8fecd --- /dev/null +++ "b/static/image/\351\243\236\346\234\272.png" Binary files differ diff --git a/static/layers.json b/static/layers.json index 08f9fd7..b208fb9 100644 --- a/static/layers.json +++ b/static/layers.json @@ -7,18 +7,7 @@ "id": "CE402B81", "name": "杈圭晫鑼冨洿", "children": [ - { - "id": "A349C2B7", - "sourceType": "wmse", - "name": "浜︿紒鏈嶅姟宀�", - "urls": "http://10.10.4.121:8070/gisserver/wmsserver/yiqifuwugang-1102", - "maximumLevel": 26, - "alpha": 1, - "zIndex": 4, - "Level": "0,26", - "checked": false, - "rename": false - } + ], "rename": false, "checked": false, @@ -28,4843 +17,12 @@ "id": "482040AD", "name": "鐥呭鏁版嵁", "children": [ - { - "id": "xjfd", - "name": "鏄熺骇楗簵", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L4452-鏄熺骇楗簵", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "jyxyccs", - "name": "缁忚惀鎬ф紨鍑哄満鎵�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L4701-缁忚惀鎬ф紨鍑哄満鎵�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "gyxtsg", - "name": "鍏泭鎬у浘涔﹂", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L417-鍏泭鎬у浘涔﹂", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "sdgy", - "name": "婀垮湴鍏洯", - "sourceType": "cluster", - "alpha": 0.46, - "class": "polygon", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L4038-婀垮湴鍏洯", - "color": "#92d94b", - "outlineColor": "#FFFFFF", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 9, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "height": 0, - "extrudedHeight": 100, - "outline": true, - "water": false, - "labelNear": 0, - "labelFar": 999999999 - }, - { - "id": "gyxwhg", - "name": "鍏泭鎬ф枃鍖栭", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L4418-鍏泭鎬ф枃鍖栭", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "lyzxfwz", - "name": "鏃呮父鍜ㄨ鏈嶅姟绔�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L4429-鏃呮父鍜ㄨ鏈嶅姟绔�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "ysg", - "name": "鑹烘湳棣�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L4456-鑹烘湳棣�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "whg", - "name": "鏂囧寲棣�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L4448-鏂囧寲棣�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "msg", - "name": "缇庢湳棣�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L4430-缇庢湳棣�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "Ajjq", - "name": "A绾ф櫙鍖�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L4680-A绾ф櫙鍖�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "yrylxs", - "name": "涓�鏃ユ父鏃呰绀�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L4681-涓�鏃ユ父鏃呰绀�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "wzlxs", - "name": "澶栬祫鏃呰绀�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L4446-澶栬祫鏃呰绀�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "ycjqlxs", - "name": "鏈夊嚭澧冩潈鏃呰绀�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L4459-鏈夊嚭澧冩潈鏃呰绀�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "jyxhlwwhdw", - "name": "缁忚惀鎬т簰鑱旂綉鏂囧寲鍗曚綅", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L3782-缁忚惀鎬т簰鑱旂綉鏂囧寲鍗曚綅", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "hualang", - "name": "鐢诲粖", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L4420-鐢诲粖", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "ycjjjg", - "name": "婕斿嚭缁忕邯鏈烘瀯", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenhuahelvyouju", - "layer": "L4252-婕斿嚭缁忕邯鏈烘瀯", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "bjdqbwg", - "name": "鍖椾含鍦板尯鍗氱墿棣�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenwuju", - "layer": "L4381-鍖椾含鍦板尯鍗氱墿棣�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "lxs", - "name": "鏃呰绀�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenwuju", - "layer": "L3832-鏃呰绀�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "bjssjwwbhdw", - "name": "鍖椾含甯傚競绾ф枃鐗╀繚鎶ゅ崟浣�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenwuju", - "layer": "L4391-鍖椾含甯傚競绾ф枃鐗╀繚鎶ゅ崟浣�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "bjsdxwwmcq", - "name": "鍖椾含甯傚湴涓嬫枃鐗╁煁钘忓尯", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenwuju", - "layer": "L4385-鍖椾含甯傚湴涓嬫枃鐗╁煁钘忓尯", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "bjsqgzdwwbhdw", - "name": "鍖椾含甯傚叏鍥介噸鐐规枃鐗╀繚鎶ゅ崟浣�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenwuju", - "layer": "L4389-鍖椾含甯傚叏鍥介噸鐐规枃鐗╀繚鎶ゅ崟浣�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "bjswwpmqy", - "name": "鍖椾含甯傛枃鐗╂媿鍗栦紒涓�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenwuju", - "layer": "L4393-鍖椾含甯傛枃鐗╂媿鍗栦紒涓�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "bjswwsd", - "name": "鍖椾含甯傛枃鐗╁晢搴�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiwenwuju", - "layer": "L4394-鍖椾含甯傛枃鐗╁晢搴�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - } - ], - "rename": false, - "expanded": false - }, - { - "id": "AA408D09", - "name": "缁忔祹鍙戝睍灞�", - "children": [ - { - "id": "bjsnyncxxhltqymd", - "name": "鍐滀笟鍐滄潙淇℃伅鍖栭緳澶翠紒涓氬悕鍗�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shinongyenongcunju", - "layer": "L4670-鍐滀笟鍐滄潙淇℃伅鍖栭緳澶翠紒涓氬悕鍗�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "bjssyjyqyml", - "name": "鍖椾含甯傚吔鑽粡钀ヤ紒涓氬悕褰�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shinongyenongcunju", - "layer": "L4746-鍖椾含甯傚吔鑽粡钀ヤ紒涓氬悕褰�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "bjsxxcdy", - "name": "浼戦棽鍨傞挀鍥�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shinongyenongcunju", - "layer": "L4745-浼戦棽鍨傞挀鍥�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - } - ], - "rename": false, - "expanded": false - }, - { - "id": "F8213DC2", - "name": "寮�鍙戝缓璁惧眬", - "children": [ - { - "id": "闆寒宸ョ▼", - "sourceType": "cluster", - "alpha": 1, - "height": 30, - "name": "闆寒宸ョ▼", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shipingjiankong0614", - "layer": "闆寒宸ョ▼", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "text": "", - "image": "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", - "minimumLevel": 1, - "maximumLevel": 22, - "font": "Arial", - "scale": 1, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": -10, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "flyTo": [ - "116.49140", - "39.78077", - "1985.39", - "360.0", - "-49.3" - ] - }, - { - "id": "sf", - "name": "灞卞嘲", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/xinxihuajuyewushuju", - "layer": "L4765-灞卞嘲", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "hl", - "name": "娌虫祦", - "sourceType": "wfs", - "alpha": 1, - "class": "polygon", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/xinxihuajuyewushuju", - "layer": "L4763-娌虫祦", - "color": "#6fc5f7", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "minimumLevel": 12, - "maximumLevel": 22, - "height": 0, - "outlineWidth": 1, - "extrudedHeight": 10, - "outline": false, - "water": true, - "labelNear": 0, - "labelFar": 999999999, - "checked": false, - "rename": false - }, - { - "id": "sdzrbhq", - "name": "婀垮湴鑷劧淇濇姢鍖�", - "sourceType": "wfs", - "alpha": 1, - "class": "polygon", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiyuanlinlvhuaju", - "layer": "L4039-婀垮湴鑷劧淇濇姢鍖�", - "color": "#6fc5f7", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "minimumLevel": 12, - "maximumLevel": 22, - "height": 0, - "outlineWidth": 1, - "extrudedHeight": 100, - "outline": false, - "water": true, - "labelNear": 0, - "labelFar": 999999999, - "checked": false, - "rename": false - }, - { - "id": "CSGXYQ", - "name": "鍩庡競鏇存柊鍥尯", - "checked": false, - "sourceType": "wmse", - "urls": "http://10.10.4.121:8070/gisserver/wmsserver/CSGXYQ", - "layer": "", - "srs": "EPSG:4490", - "lon": "116.523", - "lat": "39.782", - "Level": 1, - "zIndex": 7, - "rename": false - } - ], - "rename": false, - "expanded": false - }, - { - "id": "E31DCD9B", - "name": "鍩庡競杩愯灞�", - "children": [ - { - "id": "wxfwjyxkzdw", - "name": "鍗遍櫓搴熺墿缁忚惀璁稿彲璇佸崟浣�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishengtaihuanjingju", - "layer": "L4186-鍗遍櫓搴熺墿缁忚惀璁稿彲璇佸崟浣�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "xssxzzddw", - "name": "閿�鍞皠绾胯缃殑鍗曚綅", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishengtaihuanjingju", - "layer": "L4668-閿�鍞皠绾胯缃殑鍗曚綅", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "sysxzzddw", - "name": "浣跨敤灏勭嚎瑁呯疆鐨勫崟浣�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishengtaihuanjingju", - "layer": "L4660-浣跨敤灏勭嚎瑁呯疆鐨勫崟浣�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "xsfsydw", - "name": "閿�鍞斁灏勬簮鍗曚綅", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishengtaihuanjingju", - "layer": "L4669-閿�鍞斁灏勬簮鍗曚綅", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "syfsydw", - "name": "浣跨敤鏀惧皠婧愬崟浣�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishengtaihuanjingju", - "layer": "L4661-浣跨敤鏀惧皠婧愬崟浣�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "sxzzscxsdw", - "name": "灏勭嚎瑁呯疆鐢熶骇銆侀攢鍞崟浣�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishengtaihuanjingju", - "layer": "L4021-灏勭嚎瑁呯疆鐢熶骇銆侀攢鍞崟浣�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "fsxtwsscdw", - "name": "鏀惧皠鎬у悓浣嶇礌鐢熶骇鍗曚綅", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishengtaihuanjingju", - "layer": "L3613-鏀惧皠鎬у悓浣嶇礌鐢熶骇鍗曚綅", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "scfsydw", - "name": "鐢熶骇鏀惧皠婧愬崟浣�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishengtaihuanjingju", - "layer": "L4667-鐢熶骇鏀惧皠婧愬崟浣�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "fsxtwsxsdw", - "name": "鏀惧皠鎬у悓浣嶇礌閿�鍞崟浣�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishengtaihuanjingju", - "layer": "L3615-鏀惧皠鎬у悓浣嶇礌閿�鍞崟浣�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "scsxzzdw", - "name": "鐢熶骇灏勭嚎瑁呯疆鍗曚綅", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishengtaihuanjingju", - "layer": "L4666-鐢熶骇灏勭嚎瑁呯疆鍗曚綅", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "fsxysyxkqy", - "name": "鏀惧皠鎬ц嵂浣跨敤璁稿彲浼佷笟", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishengtaihuanjingju", - "layer": "L4723-鏀惧皠鎬ц嵂浣跨敤璁稿彲浼佷笟", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "bjsjdcpfjydw", - "name": "鍖椾含甯傛満鍔ㄨ溅鎺掓斁妫�楠屽崟浣�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishengtaihuanjingju", - "layer": "L4662-鍖椾含甯傛満鍔ㄨ溅鎺掓斁妫�楠屽崟浣�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "zcgy", - "name": "娉ㄥ唽鍏洯", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiyuanlinlvhuaju", - "layer": "L4356-娉ㄥ唽鍏洯", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "ljl", - "name": "鍨冨溇妤�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L3804-鍨冨溇妤�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "ljc", - "name": "鍨冨溇鍦�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L3803-鍨冨溇鍦�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "sjyljcz", - "name": "甯傜骇闆ㄩ噺鐩戞祴绔�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L4072-甯傜骇闆ㄩ噺鐩戞祴绔�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "hcz", - "name": "鐏溅绔�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L3714-鐏溅绔�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "ljq", - "name": "绔嬩氦妗�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L4618-绔嬩氦妗�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "jjjcz", - "name": "杩涗含妫�鏌ョ珯", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L3781-杩涗含妫�鏌ョ珯", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "tl", - "sourceType": "wfs", - "alpha": 1, - "name": "閾佽矾", - "class": "polyline", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L4160-閾佽矾", - "color": "#ffffff", - "outlineColor": "#ffff00", - "clampToGround": true, - "classificationType": 2, - "minimumLevel": 9, - "maximumLevel": 22, - "width": 4, - "outlineWidth": 2, - "height": 0, - "dash": false, - "dashLength": 20, - "gapColor": "rgba(0,0,0,0)", - "checked": false, - "rename": false - }, - { - "id": "gdjtxl", - "sourceType": "wfs", - "alpha": 1, - "name": "杞ㄩ亾浜ら�氱嚎璺�", - "class": "polyline", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L3674-杞ㄩ亾浜ら�氱嚎璺�", - "color": "#fb0d0d", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "minimumLevel": 9, - "maximumLevel": 22, - "width": 2, - "outlineWidth": 0, - "height": 0, - "dash": false, - "dashLength": 20, - "gapColor": "rgba(0,0,0,0)", - "checked": false, - "rename": false - }, - { - "id": "gdjtzd", - "name": "杞ㄩ亾浜ら�氱珯鐐�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L3675-杞ㄩ亾浜ら�氱珯鐐�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "gsgl", - "sourceType": "wfs", - "alpha": 1, - "name": "楂橀�熷叕璺�", - "class": "polyline", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L3634-楂橀�熷叕璺�", - "color": "#fb0d0d", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "minimumLevel": 9, - "maximumLevel": 22, - "width": 2, - "outlineWidth": 0, - "height": 0, - "dash": false, - "dashLength": 20, - "gapColor": "rgba(0,0,0,0)", - "checked": false, - "rename": false - }, - { - "id": "sjkyz", - "name": "鐪侀檯瀹㈣繍绔�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L4036-鐪侀檯瀹㈣繍绔�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "gd", - "sourceType": "wfs", - "alpha": 1, - "name": "鍥介亾", - "class": "polyline", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L3679-鍥介亾", - "color": "#fb0d0d", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "minimumLevel": 9, - "maximumLevel": 22, - "width": 2, - "outlineWidth": 0, - "height": 0, - "dash": false, - "dashLength": 20, - "gapColor": "rgba(0,0,0,0)", - "checked": false, - "rename": false - }, - { - "id": "sd", - "sourceType": "wfs", - "alpha": 1, - "name": "鐪侀亾", - "class": "polyline", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L4035-鐪侀亾", - "color": "#fb0d0d", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "minimumLevel": 9, - "maximumLevel": 22, - "width": 2, - "outlineWidth": 0, - "height": 0, - "dash": false, - "dashLength": 20, - "gapColor": "rgba(0,0,0,0)", - "checked": false, - "rename": false - }, - { - "id": "zgl", - "sourceType": "wfs", - "alpha": 1, - "name": "涓诲共璺�", - "class": "polyline", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L4355-涓诲共璺�", - "color": "#fb0d0d", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "minimumLevel": 9, - "maximumLevel": 22, - "width": 2, - "outlineWidth": 0, - "height": 0, - "dash": false, - "dashLength": 20, - "gapColor": "rgba(0,0,0,0)", - "checked": false, - "rename": false - }, - { - "id": "ksl", - "sourceType": "wfs", - "alpha": 1, - "name": "蹇�熻矾", - "class": "polyline", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L3798-蹇�熻矾", - "color": "#fb0d0d", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "minimumLevel": 9, - "maximumLevel": 22, - "width": 2, - "outlineWidth": 0, - "height": 0, - "dash": false, - "dashLength": 20, - "gapColor": "rgba(0,0,0,0)", - "checked": false, - "rename": false - }, - { - "id": "nslg", - "name": "娉ョ煶娴佹矡", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiguihuaheziranziyuanwei", - "layer": "L4762-娉ョ煶娴佹矡", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "ditiexianlu_tms", - "name": "鍦伴搧", - "sourceType": "local-map", - "urls": "http://10.10.4.121:8070/gisserver/tmsserver/ditiexianlu_tms", - "tile": "{z}/{x}/{y}", - "tileType": "Mercator", - "img": "jpeg", - "tms": true, - "Level": 1, - "alpha": 1, - "zIndex": 10, - "checked": false, - "rename": false - }, - { - "id": "璺伅鏉�", - "sourceType": "cluster", - "alpha": 1, - "name": "璺伅鏉�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/chengshibujian0529", - "layer": "璺伅鏉�", - "color": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/璺伅鏉�.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.4, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "璺悕鐗屾潌", - "sourceType": "cluster", - "alpha": 1, - "name": "璺悕鐗屾潌", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/chengshibujian0529", - "layer": "璺悕鐗屾潌", - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/璺悕鐗屾潌.png", - "minimumLevel": 16, - "maximumLevel": 22, - "imageScale": 0.4, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "浜ら�氫俊鍙风伅鏉�", - "sourceType": "cluster", - "alpha": 1, - "name": "浜ら�氫俊鍙风伅鏉�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/chengshibujian0529", - "layer": "浜ら�氫俊鍙风伅鏉�", - "color": "#fff", - "outlineColor": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/浜ら�氫俊鍙风伅鏉�.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.4, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "澶氬姛鑳界患鍚堟潌浣�", - "sourceType": "cluster", - "alpha": 1, - "name": "澶氬姛鑳界患鍚堟潌浣�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/chengshibujian0529", - "layer": "澶氬姛鑳界患鍚堟潌浣�", - "color": "#fff", - "outlineColor": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/澶氬姛鑳界患鍚堟潌浣�.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.4, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "鐩戞帶鏉�", - "sourceType": "cluster", - "alpha": 1, - "name": "鐩戞帶鏉�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/chengshibujian0529", - "layer": "鐩戞帶鏉�", - "color": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/鐩戞帶鏉�.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.4, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "鐩戞帶鏍囧織鐗�", - "sourceType": "cluster", - "alpha": 1, - "name": "鐩戞帶鏍囧織鐗�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/chengshibujian0529", - "layer": "鐩戞帶鏍囧織鐗�", - "color": "#fff", - "outlineColor": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/鐩戞帶鏍囧織鐗�.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.4, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "鍏朵粬鏉嗕綋", - "sourceType": "cluster", - "alpha": 1, - "name": "鍏朵粬鏉嗕綋", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/chengshibujian0529", - "layer": "鍏朵粬鏉嗕綋", - "color": "#fff", - "outlineColor": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/鍏朵粬鏉嗕綋.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.4, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "浜ら�氭爣蹇楃墝", - "sourceType": "cluster", - "alpha": 1, - "name": "浜ら�氭爣蹇楃墝", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/chengshibujian0529", - "layer": "浜ら�氭爣蹇楃墝", - "color": "#fff", - "outlineColor": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/浜ら�氭爣蹇楃墝.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.4, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "浜ら�氭爣蹇楁潌", - "sourceType": "cluster", - "alpha": 1, - "name": "浜ら�氭爣蹇楁潌", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/chengshibujian0529", - "layer": "浜ら�氭爣蹇楁潌", - "color": "#fff", - "outlineColor": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/浜ら�氭爣蹇楁潌.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.4, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - } - ], - "rename": false, - "expanded": false, - "checked": false - }, - { - "id": "7D042DAF", - "name": "绀句細浜嬩笟灞�", - "children": [ - { - "id": "gjzx", - "name": "楂樼骇涓", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/jiaoweiyewushuju", - "layer": "L4609-楂樼骇涓", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "gdxx", - "name": "宸ヨ瀛︽牎", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/jiaoweiyewushuju", - "layer": "L4603-宸ヨ瀛︽牎", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "jnygzxx", - "name": "涔濆勾涓�璐埗瀛︽牎", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/jiaoweiyewushuju", - "layer": "L4555-涔濆勾涓�璐埗瀛︽牎", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "mbgdjyptgx", - "name": "姘戝姙楂樼瓑鏁欒偛鏅�氶珮鏍�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/jiaoweiyewushuju", - "layer": "L4607-姘戝姙楂樼瓑鏁欒偛鏅�氶珮鏍�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "mbgdjyqtjg", - "name": "姘戝姙楂樼瓑鏁欒偛鍏朵粬鏈烘瀯", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/jiaoweiyewushuju", - "layer": "L4606-姘戝姙楂樼瓑鏁欒偛鍏朵粬鏈烘瀯", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "ptgx", - "name": "鏅�氶珮鏍�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/jiaoweiyewushuju", - "layer": "L4605-鏅�氶珮鏍�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "senygzxx", - "name": "鍗佷簩骞翠竴璐埗瀛︽牎", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/jiaoweiyewushuju", - "layer": "L4601-鍗佷簩骞翠竴璐埗瀛︽牎", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "tsjyxx", - "name": "鐗规畩鏁欒偛瀛︽牎", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/jiaoweiyewushuju", - "layer": "L4608-鐗规畩鏁欒偛瀛︽牎", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "wqzx", - "name": "瀹屽叏涓", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/jiaoweiyewushuju", - "layer": "L4602-瀹屽叏涓", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "xx", - "name": "灏忓", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/jiaoweiyewushuju", - "layer": "L4230-灏忓", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "yey", - "name": "骞煎効鍥�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/jiaoweiyewushuju", - "layer": "L4472-骞煎効鍥�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "zdzyxx", - "name": "涓瓑鑱屼笟瀛︽牎", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/jiaoweiyewushuju", - "layer": "L4554-涓瓑鑱屼笟瀛︽牎", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "cz", - "name": "鍒濈骇涓", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/jiaoweiyewushuju", - "layer": "L4555-鍒濈骇涓", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "qsdmzxx", - "name": "灏戞暟姘戞棌瀛︽牎", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/jiaoweiyewushuju", - "layer": "L4002-灏戞暟姘戞棌瀛︽牎", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "sqcjwhzd", - "name": "绀惧尯灞呭浼�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiminzhengju", - "layer": "L4014-绀惧尯灞呭浼�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "jzzd", - "name": "鎹愯禒绔欑偣", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiminzhengju", - "layer": "L4646-鎹愯禒绔欑偣", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "hysydjjg", - "name": "濠氬Щ鏀跺吇鐧昏鏈哄叧", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiminzhengju", - "layer": "L3713-濠氬Щ鏀跺吇鐧昏鏈哄叧", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "sqzyzzz", - "name": "绀惧尯蹇楁効鑰呯粍缁�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiminzhengju", - "layer": "L4652-绀惧尯蹇楁効鑰呯粍缁�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "gmly", - "name": "鍏闄靛洯", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiminzhengju", - "layer": "L3650-鍏闄靛洯", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "swgdxazcsm", - "name": "瀹ゅ杩囨浮鎬у畨缃満鎵�闈�", - "sourceType": "wfs", - "alpha": 0.46, - "class": "polygon", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiminzhengju", - "layer": "L4642-瀹ゅ杩囨浮鎬у畨缃満鎵�闈�", - "color": "#92d94b", - "outlineColor": "#FFFFFF", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 9, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "height": 0, - "extrudedHeight": 100, - "outline": true, - "water": false, - "labelNear": 0, - "labelFar": 999999999 - }, - { - "id": "swgdxazcs", - "name": "瀹ゅ杩囨浮鎬у畨缃満鎵�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiminzhengju", - "layer": "L4641-瀹ゅ杩囨浮鎬у畨缃満鎵�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "sngdxazcs", - "name": "瀹ゅ唴杩囨浮鎬у畨缃満鎵�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiminzhengju", - "layer": "L4640-瀹ゅ唴杩囨浮鎬у畨缃満鎵�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "ylfwjg", - "name": "鍏昏�佹湇鍔℃満鏋�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiminzhengju", - "layer": "L4254-鍏昏�佹湇鍔℃満鏋�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "4B4FEFDD", - "sourceType": "wfs", - "alpha": 1, - "name": "閬块櫓璺嚎", - "class": "polyline", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiminzhengju", - "layer": "L4655-閬块櫓璺嚎", - "color": "#fb0d0d", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "minimumLevel": 9, - "maximumLevel": 22, - "width": 2, - "outlineWidth": 0, - "height": 0, - "dash": false, - "dashLength": 20, - "gapColor": "rgba(0,0,0,0)", - "checked": false, - "rename": false - }, - { - "id": "byfwjg", - "name": "娈′华鏈嶅姟鏈烘瀯", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiminzhengju", - "layer": "L4398-娈′华鏈嶅姟鏈烘瀯", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "jjjg", - "name": "鎬ユ晳鏈烘瀯", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiweishengjiankangwei", - "layer": "L4712-鎬ユ晳鏈烘瀯", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "wsjdzx", - "name": "鍗敓鐩戠潱涓績", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiweishengjiankangwei", - "layer": "L4708-鍗敓鐩戠潱涓績", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "jtcxd", - "name": "琛楀ご閲嗚鐐�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiweishengjiankangwei", - "layer": "L4713-琛楀ご閲嗚鐐�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "qtylwsjg", - "name": "鍏朵粬鍖荤枟鍗敓鏈烘瀯", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiweishengjiankangwei", - "layer": "L4704-鍏朵粬鍖荤枟鍗敓鏈烘瀯", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "sjyy", - "name": "涓夌骇鍖婚櫌", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiweishengjiankangwei", - "layer": "L3995-涓夌骇鍖婚櫌", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "ejyy", - "name": "浜岀骇鍖婚櫌", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiweishengjiankangwei", - "layer": "L3595-浜岀骇鍖婚櫌", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "sqwsfwzx", - "name": "绀惧尯鍗敓鏈嶅姟涓績", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiweishengjiankangwei", - "layer": "L4018-绀惧尯鍗敓鏈嶅姟涓績", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "tjyljg", - "name": "浣撴鍖荤枟鏈烘瀯", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiweishengjiankangwei", - "layer": "L4147-浣撴鍖荤枟鏈烘瀯", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "sqtyjsjlb", - "name": "绀惧尯浣撹偛鍋ヨ韩淇变箰閮�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shitiyuju", - "layer": "L4015-绀惧尯浣撹偛鍋ヨ韩淇变箰閮�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "qsntyjlb", - "name": "闈掑皯骞翠綋鑲蹭勘涔愰儴", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shitiyuju", - "layer": "L3956-闈掑皯骞翠綋鑲蹭勘涔愰儴", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "tyydxmjydw", - "name": "浣撹偛杩愬姩椤圭洰缁忚惀鍗曚綅", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shitiyuju", - "layer": "L4154-浣撹偛杩愬姩椤圭洰缁忚惀鍗曚綅", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "tycpzmd", - "name": "浣撹偛褰╃エ涓撳崠搴�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shitiyuju", - "layer": "L4149-浣撹偛褰╃エ涓撳崠搴�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "tyssdwkfxx", - "name": "浣撹偛璁炬柦瀵瑰寮�鏀惧鏍�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shitiyuju", - "layer": "L4152-浣撹偛璁炬柦瀵瑰寮�鏀惧鏍�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "ykzsqfwq", - "name": "涓�鍒婚挓绀惧尯鏈嶅姟鍦�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/xinxihuajuyewushuju", - "layer": "L4264-涓�鍒婚挓绀惧尯鏈嶅姟鍦�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "mramzdzx", - "name": "鐩蹭汉鎸夋懇鎸囧涓績", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/xinxihuajuyewushuju", - "layer": "L3840-鐩蹭汉鎸夋懇鎸囧涓績", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "bjscjrshzz", - "name": "鍖椾含甯傛畫鐤句汉绀句細缁勭粐", - "sourceType": "wfs", - "alpha": 1, - "class": "polygon", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/xinxihuajuyewushuju", - "layer": "L4740-鍖椾含甯傛畫鐤句汉绀句細缁勭粐", - "color": "#6fc5f7", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "minimumLevel": 12, - "maximumLevel": 22, - "height": 0, - "outlineWidth": 1, - "extrudedHeight": 100, - "outline": false, - "water": true, - "labelNear": 0, - "labelFar": 999999999, - "checked": false, - "rename": false - } - ], - "rename": false, - "checked": false, - "expanded": false - }, - { - "id": "B5F8764D", - "name": "鍟嗗姟閲戣瀺灞�", - "children": [ - { - "id": "qylqy", - "sourceType": "cluster", - "alpha": 1, - "name": "浼佷笟鍒嗗竷", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/qiyelianqiye", - "layer": "浼佷笟閾句紒涓�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/xzspj/qiye.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "szddtzqy", - "name": "鐢熺尓瀹氱偣灞犲浼佷笟", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishangwuju", - "layer": "L4678-鐢熺尓瀹氱偣灞犲浼佷笟", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "bldmdps", - "name": "渚垮埄搴楁湯绔厤閫�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishangwuju", - "layer": "L4673-渚垮埄搴楁湯绔厤閫�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "zrxs121jcs", - "name": "鐚倝閿�鍞�121瀹惰秴甯�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shishangwuju", - "layer": "L4679-鐚倝閿�鍞�121瀹惰秴甯�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "fsxypscjyqy", - "name": "鏀惧皠鎬ц嵂鍝佺敓浜э紙缁忚惀锛変紒涓�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiyaopinjianduguanliju", - "layer": "L4724-鏀惧皠鎬ц嵂鍝佺敓浜э紙缁忚惀锛変紒涓�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "sf", - "name": "鍖荤枟鏈烘瀯鍒跺墏璁稿彲鍗曚綅", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiyaopinjianduguanliju", - "layer": "L4721-鍖荤枟鏈烘瀯鍒跺墏璁稿彲鍗曚綅", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "hzpscqy", - "name": "鍖栧鍝佺敓浜т紒涓�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiyaopinjianduguanliju", - "layer": "L3703-鍖栧鍝佺敓浜т紒涓�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "tgzcypsfwjyqy", - "name": "鎻愪緵璐瓨涓庨厤閫佹湇鍔$粡钀ヤ紒涓�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiyaopinjianduguanliju", - "layer": "L4722-鎻愪緵璐瓨涓庨厤閫佹湇鍔$粡钀ヤ紒涓�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "spscqy", - "name": "椋熷搧鐢熶骇浼佷笟", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiyaopinjianduguanliju", - "layer": "L4727-椋熷搧鐢熶骇浼佷笟", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "ypscqy", - "name": "鑽搧鐢熶骇浼佷笟", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiyaopinjianduguanliju", - "layer": "L4259-鑽搧鐢熶骇浼佷笟", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "deslylqxscqy", - "name": "绗簩銆佷笁绫诲尰鐤楀櫒姊扮敓浜т紒涓�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiyaopinjianduguanliju", - "layer": "L3572-绗簩銆佷笁绫诲尰鐤楀櫒姊扮敓浜т紒涓�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "bjspscdw", - "name": "淇濆仴椋熷搧鐢熶骇鍗曚綅", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiyaopinjianduguanliju", - "layer": "L4379-淇濆仴椋熷搧鐢熶骇鍗曚綅", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "yplsqy", - "name": "鑽搧闆跺敭浼佷笟", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shiyaopinjianduguanliju", - "layer": "L4257-鑽搧闆跺敭浼佷笟", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - } - ], - "rename": false, - "expanded": false, - "checked": false - }, - { - "id": "BAB84B0D", - "name": "琛屾斂瀹℃壒灞�", - "children": [ - { - "id": "B5610EB3", - "name": "瑙嗛鐩戞帶", - "children": [ - { - "id": "zhianjiankong", - "sourceType": "cluster", - "alpha": 1, - "height": 30, - "name": "娌诲畨鐩戞帶", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shipingjiankong0614", - "layer": "娌诲畨鐩戞帶", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "text": "", - "image": "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", - "minimumLevel": 1, - "maximumLevel": 22, - "font": "Arial", - "scale": 1, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": -10, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "flyTo": [ - "116.49140", - "39.78077", - "1985.39", - "360.0", - "-49.3" - ] - }, - { - "id": "zhianjiankongwuxian", - "sourceType": "cluster", - "alpha": 1, - "height": 30, - "name": "娌诲畨鐩戞帶锛堟棤绾匡級", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shipingjiankong0614", - "layer": "娌诲畨鐩戞帶锛堟棤绾匡級", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "text": "", - "image": "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", - "minimumLevel": 1, - "maximumLevel": 22, - "font": "Arial", - "scale": 1, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": -10, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "flyTo": [ - "116.49140", - "39.78077", - "1985.39", - "360.0", - "-49.3" - ] - }, - { - "id": "daxinggongan133lu", - "sourceType": "cluster", - "alpha": 1, - "height": 30, - "name": "澶у叴鍏畨133璺�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shipingjiankong0614", - "layer": "澶у叴鍏畨133璺�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "text": "", - "image": "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", - "minimumLevel": 1, - "maximumLevel": 22, - "font": "Arial", - "scale": 1, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": -10, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "flyTo": [ - "116.49140", - "39.78077", - "1985.39", - "360.0", - "-49.3" - ] - }, - { - "id": "gaodianjiankong", - "sourceType": "cluster", - "alpha": 1, - "height": 30, - "name": "楂樼偣鐩戞帶", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shipingjiankong0614", - "layer": "楂樼偣鐩戞帶", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "text": "", - "image": "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", - "minimumLevel": 1, - "maximumLevel": 22, - "font": "Arial", - "scale": 1, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": -10, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "flyTo": [ - "116.49140", - "39.78077", - "1985.39", - "360.0", - "-49.3" - ] - }, - { - "id": "cigaodianjiankong", - "sourceType": "cluster", - "alpha": 1, - "height": 30, - "name": "娆¢珮鐐圭洃鎺�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shipingjiankong0614", - "layer": "娆¢珮鐐圭洃鎺�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "text": "", - "image": "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", - "minimumLevel": 1, - "maximumLevel": 22, - "font": "Arial", - "scale": 1, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": -10, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "flyTo": [ - "116.49140", - "39.78077", - "1985.39", - "360.0", - "-49.3" - ] - }, - { - "id": "鍩庡競澶ц剳", - "sourceType": "cluster", - "alpha": 1, - "height": 30, - "name": "鍩庡競澶ц剳", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shipingjiankong0614", - "layer": "鍩庡競澶ц剳", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "text": "", - "image": "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", - "minimumLevel": 1, - "maximumLevel": 22, - "font": "Arial", - "scale": 1, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": -10, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "flyTo": [ - "116.49140", - "39.78077", - "1985.39", - "360.0", - "-49.3" - ] - }, - { - "id": "骞冲畨灏忓尯", - "sourceType": "cluster", - "alpha": 1, - "height": 30, - "name": "骞冲畨灏忓尯", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shipingjiankong0614", - "layer": "骞冲畨灏忓尯", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "text": "", - "image": "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", - "minimumLevel": 1, - "maximumLevel": 22, - "font": "Arial", - "scale": 1, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": -10, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "flyTo": [ - "116.49140", - "39.78077", - "1985.39", - "360.0", - "-49.3" - ] - }, - { - "id": "杩濈珷鍋滆溅瑙嗛", - "sourceType": "cluster", - "alpha": 1, - "height": 30, - "name": "杩濈珷鍋滆溅瑙嗛", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shipingjiankong0614", - "layer": "杩濈珷鍋滆溅瑙嗛", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "text": "", - "image": "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", - "minimumLevel": 1, - "maximumLevel": 22, - "font": "Arial", - "scale": 1, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": -10, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "flyTo": [ - "116.49140", - "39.78077", - "1985.39", - "360.0", - "-49.3" - ] - }, - { - "id": "闃叉睕鐐逛綅鐩戞帶", - "sourceType": "cluster", - "alpha": 1, - "height": 30, - "name": "闃叉睕鐐逛綅鐩戞帶", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shipingjiankong0614", - "layer": "闃叉睕鐐逛綅鐩戞帶", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "text": "", - "image": "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", - "minimumLevel": 1, - "maximumLevel": 22, - "font": "Arial", - "scale": 1, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": -10, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "flyTo": [ - "116.49140", - "39.78077", - "1985.39", - "360.0", - "-49.3" - ] - }, - { - "id": "淇濋殰", - "sourceType": "cluster", - "alpha": 1, - "height": 30, - "name": "淇濋殰", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shipingjiankong0614", - "layer": "淇濋殰", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "text": "", - "image": "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", - "minimumLevel": 1, - "maximumLevel": 22, - "font": "Arial", - "scale": 1, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": -10, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "flyTo": [ - "116.49140", - "39.78077", - "1985.39", - "360.0", - "-49.3" - ] - } - ], - "rename": false, - "expanded": false - }, - { - "id": "2BA3A978", - "name": "鍩庡競绐ㄤ簳", - "children": [ - { - "id": "闆ㄦ按浜�", - "sourceType": "cluster", - "alpha": 1, - "name": "闆ㄦ按浜�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/yinjing0529", - "layer": "绐ㄤ簳_闆ㄦ按浜�", - "color": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/闆ㄦ按浜曠洊.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.5, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "鐢靛姏浜�", - "sourceType": "cluster", - "alpha": 1, - "name": "鐢靛姏浜�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/yinjing0529", - "layer": "绐ㄤ簳_鐢靛姏浜�", - "color": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/鐢靛姏浜曠洊.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.5, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "鐩戞帶浜�", - "sourceType": "cluster", - "alpha": 1, - "name": "鐩戞帶浜�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/yinjing0529", - "layer": "绐ㄤ簳_鐩戞帶浜�", - "color": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/鐩戞帶浜曠洊.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.5, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "浜ら�氫簳", - "sourceType": "cluster", - "alpha": 1, - "name": "浜ら�氫簳", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/yinjing0529", - "layer": "绐ㄤ簳_浜ら�氫簳", - "color": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/浜ら�氫簳鐩�.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.5, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "璺伅浜�", - "sourceType": "cluster", - "alpha": 1, - "name": "璺伅浜�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/yinjing0529", - "layer": "绐ㄤ簳_璺伅浜�", - "color": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/璺伅浜曠洊.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.5, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "鐕冩皵浜�", - "sourceType": "cluster", - "alpha": 1, - "name": "鐕冩皵浜�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/yinjing0529", - "layer": "绐ㄤ簳_鐕冩皵浜�", - "color": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/鐕冩皵浜曠洊.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.5, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "鐑姏浜�", - "sourceType": "cluster", - "alpha": 1, - "name": "鐑姏浜�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/yinjing0529", - "layer": "绐ㄤ簳_鐑姏浜�", - "color": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/鐑姏浜曠洊.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.5, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "閫氫俊浜�", - "sourceType": "cluster", - "alpha": 1, - "name": "閫氫俊浜�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/yinjing0529", - "layer": "绐ㄤ簳_閫氫俊浜�", - "color": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/閫氫俊浜曠洊.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.5, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "姹℃按浜�", - "sourceType": "cluster", - "alpha": 1, - "name": "姹℃按浜�", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/yinjing0529", - "layer": "绐ㄤ簳_姹℃按浜�", - "color": "#fff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鍒囩墖/姹℃按浜曠洊.png", - "minimumLevel": 16, - "maximumLevel": 22, - "font": "Arial", - "scale": 1.5, - "outlineWidth": 0, - "offsetX": 40, - "offsetY": -15, - "imageScale": 0.5, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - } - ], - "rename": false, - "expanded": false - } - ], - "rename": false, - "expanded": false, - "checked": false - }, - { - "id": "77F381A7", - "name": "绀句細淇濋櫓淇濋殰涓績", - "children": [ - { - "id": "ylbxddyljg", - "name": "鍖荤枟淇濋櫓瀹氱偣鍖荤枟鏈烘瀯", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shirenlishebaoju", - "layer": "L4750-鍖荤枟淇濋櫓瀹氱偣鍖荤枟鏈烘瀯", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - } - ], - "rename": false, - "expanded": false - }, - { - "id": "527A0989", - "name": "鑽e崕琛楅亾", - "children": [ - { - "id": "鑽e崕琛楅亾杞﹁浇瑙嗛", - "sourceType": "cluster", - "alpha": 1, - "height": 30, - "name": "鑽e崕琛楅亾杞﹁浇瑙嗛", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shipingjiankong0614", - "layer": "鑽e崕琛楅亾杞﹁浇瑙嗛", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "text": "", - "image": "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", - "minimumLevel": 1, - "maximumLevel": 22, - "font": "Arial", - "scale": 1, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": -10, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "flyTo": [ - "116.49140", - "39.78077", - "1985.39", - "360.0", - "-49.3" - ] - } - ], - "rename": false, - "expanded": false - }, - { - "id": "21F7FA4A", - "name": "瑙勮嚜鍒嗗眬", - "children": [ - { - "id": "18B25A94", - "sourceType": "wmse", - "name": "60骞虫柟鍏噷鏍稿績鍖虹晫", - "urls": "http://10.10.4.121:8070/gisserver/wmsserver/YZ_BJ60", - "maximumLevel": 26, - "alpha": 1, - "zIndex": 10, - "Level": "9,20", - "checked": true, - "rename": false, - "flyTo": [ - "116.51352", - "39.76102", - "30523.31", - "360.0", - "-89.8" - ] - }, - { - "id": "47EC9636", - "sourceType": "wmse", - "name": "225骞虫柟鍏噷鍖虹晫", - "urls": "http://10.10.4.121:8070/gisserver/wmsserver/YZ_BJ", - "maximumLevel": 26, - "alpha": 1, - "zIndex": 10, - "Level": "7,20", - "flyTo": [ - "116.50281", - "39.75291", - "35307.96", - "0.0", - "-89.8" - ], - "checked": true, - "rename": false - }, - { - "id": "xingzhengquhuamian_tms", - "name": "涓よ鍏晣鐣�", - "sourceType": "local-map", - "urls": "http://10.10.4.121:8070/gisserver/tmsserver/xingzhengquhuamian_tms", - "tile": "{z}/{x}/{y}", - "tileType": "Mercator", - "img": "jpeg", - "tms": true, - "Level": 1, - "alpha": 0.75, - "zIndex": 7, - "checked": false, - "rename": false - }, - { - "id": "xingzhengquhuabianjie_tm", - "name": "涓よ鍏晣鐣岀嚎", - "sourceType": "local-map", - "urls": "http://10.10.4.121:8070/gisserver/tmsserver/xingzhengquhuabianjie_tm", - "tile": "{z}/{x}/{y}", - "tileType": "Mercator", - "img": "jpeg", - "tms": true, - "Level": 1, - "alpha": 1, - "zIndex": 7, - "checked": false, - "rename": false - }, - { - "id": "5EFDB2AF", - "sourceType": "wfs", - "alpha": 1, - "name": "鏀垮簻鎵�鍦ㄥ湴 ", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/zhengfusuozaidi_wfs", - "layer": "鏀垮簻椹诲湴", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static/SmartEarthSDK/Workers/image/csyxj/鏀垮簻鏈哄叧.png", - "minimumLevel": 0, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 0.3, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "chengshiguihua_xiangmumingcheng_tms", - "name": "浜﹀簞鏂板煄瑙勫垝鍥�", - "sourceType": "local-map", - "urls": "http://10.10.4.121:8070/gisserver/tmsserver/chengshiguihua_xiangmumingcheng_tms", - "tile": "{z}/{x}/{y}", - "tileType": "Mercator", - "img": "jpeg", - "tms": true, - "Level": 1, - "alpha": 1, - "zIndex": 7, - "checked": false, - "rename": false - }, - { - "id": "GuiHuaFanWeiShiYiTu", - "name": "瑙勫垝鑼冨洿涓撻鍥�", - "sourceType": "local-map", - "urls": "http://10.10.4.121:8070/gisserver/tmsserver/GuiHuaFanWeiShiYiTu_tms", - "tile": "{z}/{x}/{y}", - "tileType": "Mercator", - "img": "jpeg", - "tms": true, - "Level": 1, - "alpha": 1, - "zIndex": 7, - "checked": false, - "rename": false - }, - { - "id": "XingZhengQuHuaTu", - "name": "琛屾斂鍖哄垝涓撻鍥�", - "sourceType": "local-map", - "urls": "http://10.10.4.121:8070/gisserver/tmsserver/XingZhengQuHuaTu_tms", - "tile": "{z}/{x}/{y}", - "tileType": "Mercator", - "img": "jpeg", - "tms": true, - "Level": 1, - "alpha": 1, - "zIndex": 7, - "checked": false, - "rename": false - }, - { - "id": "GuiHuaDanYuanHuaFenTu", - "name": "瑙勫垝鍗曞厓鍒掑垎涓撻鍥�", - "sourceType": "local-map", - "urls": "http://10.10.4.121:8070/gisserver/tmsserver/GuiHuaDanYuanHuaFenTu_tms", - "tile": "{z}/{x}/{y}", - "tileType": "Mercator", - "img": "jpeg", - "tms": true, - "Level": 1, - "alpha": 1, - "zIndex": 7, - "checked": false, - "rename": false - }, - { - "id": "ZhuYaoGongNengQuGuiHuaShiYiTu", - "name": "涓昏鍔熻兘鍖鸿鍒掍笓棰樺浘", - "sourceType": "local-map", - "urls": "http://10.10.4.121:8070/gisserver/tmsserver/ZhuYaoGongNengQuGuiHuaShiYiTu_tms", - "tile": "{z}/{x}/{y}", - "tileType": "Mercator", - "img": "jpeg", - "tms": true, - "Level": 1, - "alpha": 1, - "zIndex": 7, - "checked": false, - "rename": false - } - ], - "rename": false, - "expanded": false - }, - { - "id": "471847FA", - "name": "骞冲畨鍔�", - "children": [ - { - "id": "bgld", - "name": "瀹鹃鏃呭簵", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/gonganjuyewushuju", - "layer": "L4397-瀹鹃鏃呭簵", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "crjzjjg", - "name": "鍑哄叆澧冧腑浠嬫満鏋�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/gonganjuyewushuju", - "layer": "L3539-鍑哄叆澧冧腑浠嬫満鏋�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "jtzfjg", - "name": "浜ら�氭墽娉曟満鏋�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/gonganjuyewushuju", - "layer": "L3764-浜ら�氭墽娉曟満鏋�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "lctcc", - "name": "璺晶鍋滆溅浣�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/gonganjuyewushuju", - "layer": "L3831-璺晶鍋滆溅浣�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "jx", - "name": "椹炬牎", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/gonganjuyewushuju", - "layer": "L3750-椹炬牎", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "sqmjjjwgzs", - "name": "绀惧尯姘戣鍙婅鍔″伐浣滃", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/gonganjuyewushuju", - "layer": "L4628-绀惧尯姘戣鍙婅鍔″伐浣滃", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "jtzdd", - "name": "浜ら�氭敮澶ч槦", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/gonganjuyewushuju", - "layer": "L3763-浜ら�氭敮澶ч槦", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "fjdcdjz", - "name": "闈炴満鍔ㄨ溅鐧昏绔�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/gonganjuyewushuju", - "layer": "L4634-闈炴満鍔ㄨ溅鐧昏绔�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "jdcjcc", - "name": "鏈哄姩杞︽娴嬪満", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/gonganjuyewushuju", - "layer": "L3721-鏈哄姩杞︽娴嬪満", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "pcs", - "name": "娲惧嚭鎵�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/gonganjuyewushuju", - "layer": "L4627-娲惧嚭鎵�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "cgz", - "name": "杞︾绔�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/gonganjuyewushuju", - "layer": "L4404-杞︾绔�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "cgs", - "name": "杞︾鎵�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/gonganjuyewushuju", - "layer": "L4403-杞︾鎵�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "jtsgcljg", - "name": "浜ら�氫簨鏁呭鐞嗘満鏋�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/gonganjuyewushuju", - "layer": "L3761-浜ら�氫簨鏁呭鐞嗘満鏋�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "lssws", - "name": "寰嬪笀浜嬪姟鎵�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shisifaju", - "layer": "L3836-娈′华鏈嶅緥甯堜簨鍔℃墍鍔℃満鏋�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "o_ql_sfj_sfjdjg_kongjian", - "name": "鍙告硶閴村畾鏈烘瀯", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shisifaju", - "layer": "L4125-鍙告硶閴村畾鏈烘瀯", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "o_ql_sfj_qs17jflyzzxjbxx_kongjian", - "name": "娉曞緥鎻村姪涓績", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shisifaju", - "layer": "L3600-娉曞緥鎻村姪涓績", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - }, - { - "id": "o_ql_sfj_jcsfszzxx_kongjian", - "name": "鍙告硶鎵�", - "sourceType": "cluster", - "alpha": 1, - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shisifaju", - "layer": "L4126-鍙告硶鎵�", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": true, - "classificationType": 2, - "image": "./static//SmartEarthSDK/Workers/image/point-16px.png", - "minimumLevel": 13, - "maximumLevel": 22, - "font": "Arial", - "scale": 2, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": 0, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false - } - ], - "rename": false, - "expanded": false, - "checked": false - }, - { - "id": "2E2BE254", - "name": "甯傝嚜鍔ㄩ┚椹跺姙鍏", - "children": [ - { - "id": "鑷姩椹鹃┒", - "sourceType": "cluster", - "alpha": 1, - "height": 30, - "name": "鑷姩椹鹃┒", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shipingjiankong0614", - "layer": "鑷姩椹鹃┒", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "text": "", - "image": "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", - "minimumLevel": 1, - "maximumLevel": 22, - "font": "Arial", - "scale": 1, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": -10, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "flyTo": [ - "116.49140", - "39.78077", - "1985.39", - "360.0", - "-49.3" - ] - }, - { - "id": "鑷姩椹鹃┒楸肩溂", - "sourceType": "cluster", - "alpha": 1, - "height": 30, - "name": "鑷姩椹鹃┒楸肩溂", - "class": "point", - "urls": "http://10.10.4.121:8070/gisserver/wfsserver/shipingjiankong0614", - "layer": "鑷姩椹鹃┒楸肩溂", - "color": "#ffffff", - "outlineColor": "#ffffff", - "clampToGround": false, - "classificationType": 2, - "text": "", - "image": "./static/SmartEarthSDK/Workers/image/xzspj/spjk.png", - "minimumLevel": 1, - "maximumLevel": 22, - "font": "Arial", - "scale": 1, - "outlineWidth": 1, - "offsetX": 0, - "offsetY": -10, - "imageScale": 1, - "disableDepthTestDistance": "Infinity", - "checked": false, - "rename": false, - "flyTo": [ - "116.49140", - "39.78077", - "1985.39", - "360.0", - "-49.3" - ] - } - ], - "rename": false, - "expanded": false, - "checked": false - }, - { - "id": "33213273", - "name": "鍦板浘鏁版嵁", - "disabled": false, - "children": [ - { - "id": "AC1CE1F9", - "name": "鍩虹鍦板浘", - "children": [ - { - "id": "shiliangtuceng", - "name": "浜岀淮鍦板浘", - "children": [ - { - "id": "baise2D", - "name": "鐧借壊浜岀淮", - "sourceType": "local-map", - "urls": "http://10.10.4.121:8070/gisserver/tmsserver/shiliangditu_baisexi", - "tile": "{z}/{x}/{y}", - "tileType": "Mercator", - "img": "jpeg", - "tms": true, - "Level": 1, - "checked": false, - "alpha": 1, - "zIndex": 2, - "rename": false - }, - { - "id": "shenlan2D", - "name": "娣辫摑浜岀淮", - "sourceType": "local-map", - "urls": "http://10.10.4.121:8070/gisserver/tmsserver/shiliangditu_kejilan", - "tile": "{z}/{x}/{y}", - "tileType": "Mercator", - "img": "jpeg", - "tms": true, - "Level": 1, - "checked": false, - "alpha": 1, - "zIndex": 2, - "rename": false - }, - { - "id": "heijin2D", - "name": "榛戦噾浜岀淮", - "sourceType": "local-map", - "urls": "http://10.10.4.121:8070/gisserver/tmsserver/shiliangtu_anyehei", - "tile": "{z}/{x}/{y}", - "tileType": "Mercator", - "img": "jpeg", - "tms": true, - "Level": 1, - "checked": false, - "alpha": 1, - "zIndex": 2, - "rename": false - }, - { - "id": "鍖椾含22000褰卞儚", - "name": "鍖椾含2000褰卞儚", - "sourceType": "BJ2000", - "urls": "http://172.26.64.84/service/map/img?year=&type=Sate&z={z}&x={x}&y={y}&ak=945feed57ba34d23a999be2ae4d9259a", - "checked": false, - "rename": false - }, - { - "id": "鍖椾含2000鐭㈤噺", - "name": "鍖椾含2000鐭㈤噺", - "sourceType": "BJ2000", - "urls": "http://172.26.64.84/service/map/img?year=&type=Shiliang&z={z}&x={x}&y={y}&ak=945feed57ba34d23a999be2ae4d9259a", - "checked": false, - "rename": false - } - ], - "rename": false, - "expanded": false, - "checked": false - }, - { - "id": "yingxiangtuceng", - "name": "褰卞儚鍦板浘", - "children": [ - { - "id": "jiaotongluwang_tms", - "name": "閬撹矾", - "sourceType": "local-map", - "urls": "http://10.10.4.121:8070/gisserver/tmsserver/jiaotongluwang_tms", - "tile": "{z}/{x}/{y}", - "tileType": "Mercator", - "img": "jpeg", - "tms": true, - "Level": 1, - "alpha": 1, - "zIndex": 3, - "checked": false, - "rename": false - }, - { - "id": "C0698021", - "sourceType": "wmts", - "name": "cgcs2000鑸媿褰卞儚", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=&type=Sate_CGCS2000&level={TileMatrix}&x={TileRow}&y={TileCol}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "A6D6DE13", - "sourceType": "gdmap", - "name": "楂樺痉褰卞儚", - "urls": "https://webst02.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}", - "layer": "", - "alpha": 1, - "zIndex": 2, - "maximumLevel": 18, - "Level": [ - 0, - 26 - ], - "checked": false, - "rename": false - }, - { - "id": "26B6815E", - "sourceType": "gdmap", - "name": "楂樺痉娉ㄨ", - "zIndex": 3, - "urls": "https://webst02.is.autonavi.com/appmaptile?style=8&x={x}&y={y}&z={z}", - "layer": "", - "alpha": 1, - "maximumLevel": 18, - "Level": [ - 0, - 26 - ], - "checked": false, - "rename": false - } - ], - "rename": false, - "expanded": false, - "checked": false - }, - { - "id": "historyImage", - "name": "鍘嗗彶褰卞儚", - "children": [ - { - "id": "2002", - "sourceType": "BJ54", - "name": "2002骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2002&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2003", - "sourceType": "BJ54", - "name": "2003骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2003&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2004", - "sourceType": "BJ54", - "name": "2004骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2004&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2005", - "sourceType": "BJ54", - "name": "2005骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2005&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2006", - "sourceType": "BJ54", - "name": "2006骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2006&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2007", - "sourceType": "BJ54", - "name": "2007骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2007&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2008", - "sourceType": "BJ54", - "name": "2008骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2008&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2009", - "sourceType": "BJ54", - "name": "2009骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2009&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2010", - "sourceType": "BJ54", - "name": "2010骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2010&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2011", - "sourceType": "BJ54", - "name": "2011骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2011&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2012", - "sourceType": "BJ54", - "name": "2012骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2012&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2013", - "sourceType": "BJ54", - "name": "2013骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2013&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2014", - "sourceType": "BJ54", - "name": "2014骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2014&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2015", - "sourceType": "BJ54", - "name": "2015骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2015&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2016", - "sourceType": "BJ54", - "name": "2016骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2016&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2017", - "sourceType": "BJ54", - "name": "2017骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2017&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2018", - "sourceType": "BJ54", - "name": "2018骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2018&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2019", - "sourceType": "BJ54", - "name": "2019骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2019&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - }, - { - "id": "2020", - "sourceType": "BJ54", - "name": "2020骞村奖鍍�", - "urls": "http://10.10.4.116:8085/yzAdapter/Vector/?request=1&year=2020&type=Sate&level={z}&x={x}&y={y}", - "checked": false, - "zIndex": 2, - "rename": false - } - ], - "rename": false, - "expanded": false, - "checked": false - }, - { - "id": "8A969952", - "sourceType": "b3dm", - "name": "寤虹瓚浣撳潡", - "urls": "http://10.10.4.121:8070/gisserver/c3dserver/YZ_BM/tileset.json", - "checked": false, - "rename": false - }, - { - "id": "shijingsanwei", - "name": "涓夌淮妯″瀷", - "children": [ - { - "id": "hexinqu0609", - "name": "鏍稿績鍖哄缓绛戠墿", - "sourceType": "b3dm", - "checked": true, - "urls": "http://10.10.4.121:8070/gisserver/c3dserver/hxq0609/tileset.json", - "rename": false, - "zIndex": 1 - }, - { - "id": "2253dhexin01", - "name": "225瀹炴櫙涓夌淮鏍稿績鍖哄湴闈�", - "sourceType": "b3dm", - "checked": true, - "urls": "http://10.10.4.121:8070/gisserver/c3dserver/hexinqudimian/tileset.json", - "rename": false, - "zIndex": 1 - }, - { - "id": "2253dfeihexin", - "name": "225瀹炴櫙涓夌淮闈炴牳蹇冨尯", - "checked": true, - "sourceType": "b3dm", - "urls": "http://10.10.4.121:8070/gisserver/c3dserver/fhx/tileset.json", - "rename": false, - "zIndex": 1 - } - ], - "rename": false, - "expanded": false, - "checked": true - } - ], - "rename": false, - "expanded": false - } + ], "rename": false, "expanded": false } + ], "flyTo": [], "mapStatus": { diff --git a/vue.config.js b/vue.config.js new file mode 100644 index 0000000..23ee67b --- /dev/null +++ b/vue.config.js @@ -0,0 +1,43 @@ +/* + * @Author: 鐜嬫棴 1377869194@qq.com + * @Date: 2023-05-08 13:52:20 + * @LastEditors: 鐜嬫棴 1377869194@qq.com + * @LastEditTime: 2023-05-08 14:17:30 + * @FilePath: \LFWEB_NEW\vue.config.js + * @Description: 杩欐槸榛樿璁剧疆,璇疯缃甡customMade`, 鎵撳紑koroFileHeader鏌ョ湅閰嶇疆 杩涜璁剧疆: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + */ +const path = require("path") +const resolve = dir => path.join(__dirname, dir) +module.exports = { + lintOnSave: false, + publicPath: "./", + devServer: { + host: 'localhost',//鏈湴鍦板潃 + port: '8080',//绔彛鍙� + hot: true,//鐑洿鏂拌嚜鍔ㄥ埛鏂� + open: true,//鑷姩鎵撳紑 + overlay: { //褰撳嚭鐜扮紪璇戦敊璇垨璀﹀憡鏃讹紝鍦ㄦ祻瑙堝櫒涓樉绀哄叏灞忚鐩栥�傚彧鏄剧ず閿欒淇℃伅涓嶆彁绀鸿鍛婃儏鍐甸檺鍒舵槸 + warning: false, + error: true + }, + proxy: { + "/JiangSu": { + target: 'http:localhost/JiangSu',//浠g悊鍦板潃 鍑℃槸浣跨敤/api + changeOrigin: true,//鍏佽璺ㄥ煙璇锋眰 + secure: false, + pathRewrite: { //閲嶅啓璺緞 鏇挎崲璇锋眰鍦板潃涓殑鎸囧畾璺緞 + ['^/JiangSu']: '' //灏嗚姹傚湴鍧�涓殑api鏇挎崲涓虹┖ + } + } + } + }, + + configureWebpack: { + resolve: { + alias: { + "@": resolve("src"), + }, + }, + }, + +} -- Gitblit v1.9.3