From 32a74e421964aa589a13944e4949e35273fc629f Mon Sep 17 00:00:00 2001 From: lixuliang <lixuliang_hd@126.com> Date: 星期四, 12 十月 2023 16:31:16 +0800 Subject: [PATCH] 2号屏 --- src/assets/js/rpc.js | 2 static/mapData.js | 17 src/components/map/viewer.vue | 1 static/layers.json | 1152 --------------------------------------------------------- src/assets/js/mapMsg.js | 3 5 files changed, 14 insertions(+), 1,161 deletions(-) diff --git a/src/assets/js/mapMsg.js b/src/assets/js/mapMsg.js index 8abda3e..7a34b44 100644 --- a/src/assets/js/mapMsg.js +++ b/src/assets/js/mapMsg.js @@ -17,7 +17,7 @@ var that = this; window.addEventListener("message", res => { if (this.setTimeInterval) { - clearInterval(this.setTimeInterval); + clearInterval(this.setTimeInterval); this.setTimeInterval = null; } @@ -41,6 +41,7 @@ var rom = mapData.msgMach.lineRoam; var closeRomData = mapData.msgMach.closeRoam; var acceptData =mapData.msgMach.acceptMsg; + console.log(result) var valRest = rest.filter((rs) => { if (param.indexOf(rs) > -1) { return rs; diff --git a/src/assets/js/rpc.js b/src/assets/js/rpc.js index 5818f96..aa95712 100644 --- a/src/assets/js/rpc.js +++ b/src/assets/js/rpc.js @@ -494,7 +494,7 @@ data.showLine = false; data.mode = 1; data.pitch = -10; - data.height = 75; + data.height = 500; data.speed = 25; that.LineRoaming = sgworld.Creator.createDynamicObject( diff --git a/src/components/map/viewer.vue b/src/components/map/viewer.vue index 0a5a9b8..c000538 100644 --- a/src/components/map/viewer.vue +++ b/src/components/map/viewer.vue @@ -141,6 +141,7 @@ //鍦颁笅妯″紡璺濈鍙傛暟 Viewer.scene.globe.translucency.frontFaceAlpha = 0.5; Viewer.scene.globe.undergroundColor = undefined; + window.Viewer.scene.screenSpaceCameraController.minimumZoomDistance = 500 mapMsg.init(); rpc.clickToCoordinates(); diff --git a/static/layers.json b/static/layers.json index 7c46102..b4cf6dc 100644 --- a/static/layers.json +++ b/static/layers.json @@ -8,32 +8,6 @@ "name": "瑙勮嚜鍒嗗眬", "children": [ { - "id": "18B25A94", - "sourceType": "wmse", - "name": "60骞虫柟鍏噷鏍稿績鍖虹晫", - "urls": "http://10.10.4.121:8070/gisserver/wmsserver/YZ_BJ60", - "maximumLevel": 26, - "alpha": 1, - "zIndex": 7, - "Level": "11,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": 7, - "Level": "10,20", - "flyTo": ["116.50281", "39.75291", "35307.96", "0.0", "-89.8"], - "checked": false, - "rename": false - }, - { "id": "zhengwufuwuzhongxin", "sourceType": "wfs", "alpha": 1, @@ -172,21 +146,6 @@ "disableDepthTestDistance": "Infinity", "checked": true, "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": 0.75, - "zIndex": 7, - "checked": false, - "rename": false } ], "rename": false, @@ -195,124 +154,11 @@ { "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": 7, - "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": 7, - "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": 7, - "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": 10, - "checked": false, - "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": 2, - "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": "8A969952", - "sourceType": "b3dm", - "name": "寤虹瓚浣撳潡", - "urls": "http://10.10.4.121:8070/gisserver/c3dserver/YZ_BM/tileset.json", - "checked": false, - "rename": false - }, { "id": "shijingsanwei", "name": "涓夌淮妯″瀷", @@ -355,1004 +201,6 @@ ], "rename": false, "expanded": false - } - ], - "rename": false, - "expanded": false - }, - { - "id": "352E7A55", - "name": "甯傜骇璧勬簮", - "children": [ - { - "id": "c6e21f6f55574284aeb4df13302e9c2e", - "name": "甯傛暀濮�", - "isParent": true, - "nocheck": true, - "open": false, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "rename": false - } - ], - "rename": false - }, - { - "id": "a5c5af0b6f8c4160971a153094431161", - "name": "甯傚崼鐢熷仴搴峰", - "isParent": true, - "nocheck": true, - "open": false, - "children": [ - { - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "rename": false - } - ], - "rename": false - }, - { - "id": "ac3cbc546cd644c79c19df961c7cfba1", - "name": "甯傚晢鍔″眬", - "isParent": true, - "nocheck": true, - "open": false, - "children": [ - { - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "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": "http://10.10.4.116:8080/YZXNCS/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": true, - "rename": false - } - ], - "rename": false - }, - { - "id": "a59f601b171442a1bef0f4df5f3dd664", - "name": "甯傚叕瀹夊眬", - "isParent": true, - "nocheck": true, - "open": false, - "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": "http://10.10.4.116:8080/YZXNCS/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": "http://10.10.4.116:8080/YZXNCS/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": "http://10.10.4.116:8080/YZXNCS/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": "http://10.10.4.116:8080/YZXNCS/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": "http://10.10.4.116:8080/YZXNCS/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": "http://10.10.4.116:8080/YZXNCS/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": "http://10.10.4.116:8080/YZXNCS/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": "http://10.10.4.116:8080/YZXNCS/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": "http://10.10.4.116:8080/YZXNCS/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": "http://10.10.4.116:8080/YZXNCS/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": "http://10.10.4.116:8080/YZXNCS/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": "http://10.10.4.116:8080/YZXNCS/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": "http://10.10.4.116:8080/YZXNCS/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 } ], "rename": false, diff --git a/static/mapData.js b/static/mapData.js index 74fb5b9..7399417 100644 --- a/static/mapData.js +++ b/static/mapData.js @@ -3,12 +3,15 @@ apiUrl: 'http://10.10.4.121:8070/', //鎺ュ彛璋冪敤鍦板潃 apiUrl1: 'http://10.10.4.121:8070/PoiExcel', //鎺ュ彛璋冪敤鍦板潃 mapRest: { - lng: -2189208.281391369, //缁忓害0 - lat: 4391302.729127172, //绾害 - alt: 4061318.292309685, //楂樺害 - heading: 2.6713242790763387, //鍋忕Щ瑙掑害 - pitch: -0.017921496409462057, //淇话瑙掑害 - roll: 6.283184545431953 //鏃嬭浆瑙掑害 + + lng:-2189057.520899536, + lat:4391362.253844792, + alt:4061614.05434034, + heading:2.6476305164192566, + pitch:-0.34141671341299507, + roll:6.283179093517075, + + }, //鍔ㄧ敾瀵艰埅鐐� @@ -93,7 +96,7 @@ lineRoam: ['婕父', '瀵艰埅'], closeRoam: ['鍋滄婕父', '鍋滄瀵艰埅'], localPage: ['涓�', '浜�', '涓�', '鍥�', '浜�', '鍏�'], - acceptMsg:['姘告槍','濂旈┌','浜笢','灏忕背','鍗氬ぇ','鏌ョ湅绗�','浜烘墠'] + acceptMsg:['宸ヤ笟鍥�','濂旈┌','浜笢','灏忕背','鍗氬ぇ','鏌ョ湅绗�','鍔炰簨娴佺▼'] } }; export default mapData; -- Gitblit v1.9.3