From 89da62649161571834d3f8df7ce36f9967e6ba04 Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期二, 07 九月 2021 14:04:31 +0800
Subject: [PATCH] change cesium version
---
config/config.json | 1695 +++++++++++++++++++++++++++++++--------------------------
1 files changed, 920 insertions(+), 775 deletions(-)
diff --git a/config/config.json b/config/config.json
index c22bbf4..d2e64a2 100644
--- a/config/config.json
+++ b/config/config.json
@@ -1,779 +1,924 @@
锘縶
- "map3d": {
- "templateValues": {
- "dataServer": "http://127.0.0.1"
- },
- "scene": {
- "center": { "lat": 30.872174, "lng": 121.536914, "alt": 92469, "heading": 360, "pitch": -67 },
- "scene3DOnly": false,
- "shadows": false,
- "removeDblClick": true,
- "sceneMode": 3,
- "showSun": true,
- "showMoon": true,
- "showSkyBox": true,
- "showSkyAtmosphere": true,
- "fog": true,
- "fxaa": true,
- "globe": {
- "depthTestAgainstTerrain": false,
- "baseColor": "#546a53",
- "showGroundAtmosphere": true,
- "enableLighting": false
- },
- "cameraController": {
- "zoomFactor": 3.0,
- "minimumZoomDistance": 1,
- "maximumZoomDistance": 50000000,
- "enableRotate": true,
- "enableTranslate": true,
- "enableTilt": true,
- "enableZoom": true,
- "enableCollisionDetection": true
- }
- },
- "control": {
- "homeButton": true,
- "baseLayerPicker": false,
- "sceneModePicker": false,
- "vrButton": false,
- "fullscreenButton": true,
- "navigationHelpButton": false,
- "animation": false,
- "timeline": false,
- "infoBox": false,
- "geocoder": false,
- "geocoderConfig": { "key": ["ae29a37307840c7ae4a785ac905927e0"] },
+ "map3d": {
+ "templateValues": {
+ "dataServer": "//data.mars3d.cn",
+ "gltfServerUrl": "//data.mars3d.cn/gltf"
+ },
+ "scene": {
+ "center": { "lat": 31.162801, "lng": 121.543277, "alt": 50000, "heading": 359.2, "pitch": -39.5 },
+ "scene3DOnly": false,
+ "shadows": false,
+ "removeDblClick": true,
+ "sceneMode": 3,
+ "showSun": true,
+ "showMoon": true,
+ "showSkyBox": true,
+ "showSkyAtmosphere": true,
+ "fog": true,
+ "fxaa": true,
+ "globe": {
+ "depthTestAgainstTerrain": false,
+ "baseColor": "#546a53",
+ "showGroundAtmosphere": true,
+ "enableLighting": false
+ },
+ "cameraController": {
+ "zoomFactor": 3.0,
+ "minimumZoomDistance": 1,
+ "maximumZoomDistance": 50000000,
+ "enableRotate": true,
+ "enableTranslate": true,
+ "enableTilt": true,
+ "enableZoom": true,
+ "enableCollisionDetection": true,
+ "minimumCollisionTerrainHeight": 15000
+ }
+ },
+ "control": {
+ "homeButton": true,
+ "baseLayerPicker": false,
+ "sceneModePicker": true,
+ "vrButton": false,
+ "fullscreenButton": true,
+ "navigationHelpButton": false,
+ "animation": false,
+ "timeline": false,
+ "infoBox": false,
+ "geocoder": false,
+ "geocoderConfig": { "key": ["ae29a37307840c7ae4a785ac905927e0"] },
+ "selectionIndicator": false,
- "defaultContextMenu": true,
- "mouseDownView": true,
- "location": {
- "fps": false,
- "template": "<div>缁忓害:{lng}</div> <div>绾害:{lat}</div>"
- },
-
- "navigation": {
- "legend": { "left": "100px", "bottom": "-1px" },
- "compass": { "top": "5px", "right": "5px" }
- }
- },
- "terrain": {
- "url": "{dataServer}/terrain",
- "show": false
- },
- "basemaps": [
- { "id": 10, "name": "鍦板浘搴曞浘", "type": "group" },
- {
- "pid": 10,
- "name": "澶╁湴鍥惧奖鍍�",
- "icon": "img/basemaps/tdt_img.png",
- "type": "tdt",
- "layer": "img_d",
- "key": ["9ae78c51a0a28f06444d541148496e36"],
- "show": true
- },
- {
- "pid": 10,
- "name": "澶╁湴鍥剧數瀛�",
- "icon": "img/basemaps/tdt_vec.png",
- "type": "group",
- "layers": [
- { "name": "搴曞浘", "type": "tdt", "layer": "vec_d", "key": ["9ae78c51a0a28f06444d541148496e36"] },
- { "name": "娉ㄨ", "type": "tdt", "layer": "vec_z", "key": ["9ae78c51a0a28f06444d541148496e36"] }
- ]
- },
- {
- "pid": 10,
- "name": "鐏拌壊搴曞浘",
- "icon": "img/basemaps/bd-c-grayscale.png",
- "type": "mapbox",
- "username": "marsgis",
- "styleId": "cki0a92b123qo1aluk0e5v7sb",
- "scaleFactor": true
- },
-
-
- {
- "pid": 10,
-
- "name": "绂荤嚎鍦板浘",
- "type": "xyz",
- "url": "http://127.0.0.1/tianditu/{z}/{x}/{y}.png",
- "minimumLevel": 0,
- "maximumLevel": 18
- },
- {
- "pid": 10,
- "name": "鍗曞紶鍥剧墖 (鏈湴绂荤嚎)",
- "icon": "img/basemaps/offline.png",
- "type": "image",
- "url": "img/tietu/world.jpg"
- }
- ],
+ "defaultContextMenu": true,
+ "mouseDownView": true,
+ "compass": { "bottom": "240px", "right": "5px" },
+ "distanceLegend": { "left": "100px", "bottom": "2px" },
+ "locationBar": {
+ "fps": false,
+ "crs": "CGCS2000_GK_Zone_3",
+ "crsDecimal": 0,
+ "template": "<div>缁忓害:{lng}</div> <div>绾害:{lat}</div> <div>妯獅crsx} 绾祘crsy}</div> <div>娴锋嫈锛歿alt}绫�</div> <div>灞傜骇锛歿level}</div><div>鏂瑰悜锛歿heading}掳</div> <div>淇话瑙掞細{pitch}掳</div><div>瑙嗛珮锛歿cameraHeight}绫�</div>"
+ }
+ },
+ "terrain": {
+ "url": "{dataServer}/terrain",
+ "show": false
+ },
+ "basemaps": [
+ { "id": 10, "name": "鍦板浘搴曞浘", "type": "group" },
+ {
+ "id": 2021,
+ "pid": 10,
+ "name": "澶╁湴鍥惧奖鍍�",
+ "icon": "img/basemaps/tdt_img.png",
+ "type": "group",
"layers": [
-
- { "id": 4019, "name": "閬撹矾", "type": "group" },
-
- {
- "pid": 4019,
- "name": "閬撹矾鏁版嵁-WMS",
- "type": "wms",
- "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
- "layers": "konglu:geo_road_shanghai_osm",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "center": { "lat": 30.937695, "lng": 121.596176, "alt": 81365, "heading": 360, "pitch": -67 },
- "popup": "all",
- "show": false,
- "flyTo": true
- },
- {
- "pid": 4019,
- "name": "閬撹矾鏁版嵁-WFS",
- "type": "wfs",
- "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
- "layer": "konglu:geo_road_shanghai_osm",
- "parameters": { "maxFeatures": 500 },
-
- "center": { "lat": 31.127211, "lng": 121.487586, "alt": 20698, "heading": 360, "pitch": -67 },
- "popup": "閬撹矾鍚�:{name}<br/>tfid:{tfid}"
- },
-
-
-
- { "id": 4020, "name": "寰珯", "type": "group" },
- {
- "pid": 4020,
- "name": "寰珯姣忓ぉ鏁版嵁-WFS",
- "type": "wfs",
- "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
- "layer": "konglu:dt_weizhan_day",
- "parameters": { "maxFeatures": 500 },
- "symbol": {
- "type": "billboardP",
- "styleOptions": {
- "image": "img/marker/weizhanday.png",
- "scale": 0.7,
- "scaleByDistance": true,
- "scaleByDistance_far": 20000,
- "scaleByDistance_farValue": 0.5,
- "scaleByDistance_near": 1000,
- "scaleByDistance_nearValue": 1,
- "clampToGround": true,
- "label": {
- "text": "{name}",
- "font_size": 15,
- "color": "#ffffff",
- "outline": true,
- "outlineColor": "#000000",
- "pixelOffsetY": -30,
- "distanceDisplayCondition": true,
- "distanceDisplayCondition_far": 2000,
- "distanceDisplayCondition_near": 0
- }
-
- }
- },
- "center": { "lat": 31.127211, "lng": 121.487586, "alt": 20698, "heading": 360, "pitch": -67 },
- "popup": "寰珯鍚�:{name}<br/>缂栫爜:{mn}<br/>鏃堕棿:{time}<br/>pm25:{pm25} ug/cm3<br/>pm10:{pm10} ug/m3<br/>co:{co} ug/m3<br/>no2:{no2} ug/m3<br/>o3:{o3} ug/m3<br/>so2:{so2} ug/m3"
- },
- {
- "pid": 4020,
- "name": "寰珯姣忓ぉ鏁版嵁-WMS",
- "type": "wms",
- "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
- "layers": "konglu:dt_weizhan_day",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "center": { "lat": 30.937695, "lng": 121.596176, "alt": 81365, "heading": 360, "pitch": -67 },
- "popup": "all",
- "show": false,
- "flyTo": true
- },
- {
- "pid": 4020,
- "name": "寰珯姣忔椂鏁版嵁-WFS",
- "type": "wfs",
- "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
- "layer": "konglu:dt_weizhan_hour",
- "parameters": { "maxFeatures": 500 },
- "symbol": {
- "type": "billboardP",
- "styleOptions": {
- "image": "img/marker/weizhanhour.png",
- "scale": 0.7,
- "scaleByDistance": true,
- "scaleByDistance_far": 20000,
- "scaleByDistance_farValue": 0.5,
- "scaleByDistance_near": 1000,
- "scaleByDistance_nearValue": 1,
- "clampToGround": true,
- "label": {
- "text": "{name}",
- "font_size": 15,
- "color": "#ffffff",
- "outline": true,
- "outlineColor": "#000000",
- "pixelOffsetY": -30,
- "distanceDisplayCondition": true,
- "distanceDisplayCondition_far": 2000,
- "distanceDisplayCondition_near": 0
- }
- },
-
- "callback": "function(attr聽,聽styleOpt){聽console.log(attr.pm25);return聽{img/marker/aday.png};}"
- },
- "center": { "lat": 31.127211, "lng": 121.487586, "alt": 20698, "heading": 360, "pitch": -67 },
- "popup": "寰珯鍚�:{name}<br/>缂栫爜:{mn}<br/>鏃堕棿:{time}<br/>pm25:{pm25} ug/cm3<br/>pm10:{pm10} ug/m3<br/>co:{co} ug/m3<br/>no2:{no2} ug/m3<br/>o3:{o3} ug/m3<br/>so2:{so2} ug/m3"
- },
- {
- "pid": 4020,
- "name": "寰珯姣忔椂鏁版嵁-WMS",
- "type": "wms",
- "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
- "layers": "konglu:dt_weizhan_hour",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "center": { "lat": 30.937695, "lng": 121.596176, "alt": 81365, "heading": 360, "pitch": -67 },
- "popup": "all",
- "show": false,
- "flyTo": true
- },
- {
- "pid": 4020,
- "name": "寰珯姣忓垎鏁版嵁-WFS",
- "type": "wfs",
- "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
- "layer": "konglu:dt_weizhan_min",
- "parameters": { "maxFeatures": 500 },
- "symbol": {
- "type": "billboardP",
- "styleOptions": {
- "image": "img/marker/weizhanmin.png",
- "scale": 0.7,
- "scaleByDistance": true,
- "scaleByDistance_far": 20000,
- "scaleByDistance_farValue": 0.5,
- "scaleByDistance_near": 1000,
- "scaleByDistance_nearValue": 1,
- "clampToGround": true,
- "label": {
- "text": "{name}",
- "font_size": 15,
- "color": "#ffffff",
- "outline": true,
- "outlineColor": "#000000",
- "pixelOffsetY": -30,
- "distanceDisplayCondition": true,
- "distanceDisplayCondition_far": 2000,
- "distanceDisplayCondition_near": 0
- }
- }
- },
- "center": { "lat": 31.127211, "lng": 121.487586, "alt": 20698, "heading": 360, "pitch": -67 },
- "popup": "寰珯鍚�:{name}<br/>缂栫爜:{id}<br/>鏃堕棿:{time}<br/>pm25:{pm25} ug/cm3<br/>pm10:{pm10} ug/m3<br/>co:{co} ug/m3<br/>no2:{no2} ug/m3<br/>o3:{o3} ug/m3<br/>so2:{so2} ug/m3"
- },
- {
- "pid": 4020,
- "name": "寰珯姣忓垎鏁版嵁-WMS",
- "type": "wms",
- "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
- "layers": "konglu:dt_weizhan_min",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "center": { "lat": 30.937695, "lng": 121.596176, "alt": 81365, "heading": 360, "pitch": -67 },
- "popup": "all",
- "show": false,
- "flyTo": true
- },
- {
- "pid": 4020,
- "name": "寰珯-WMS",
- "type": "wms",
- "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
- "layers": "konglu:geo_weizhan_site",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "center": { "lat": 30.937695, "lng": 121.596176, "alt": 81365, "heading": 360, "pitch": -67 },
- "popup": "all",
- "show": false,
- "flyTo": true
- },
- {
- "pid": 4020,
- "name": "寰珯-WFS",
- "type": "wfs",
- "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
- "layer": "konglu:geo_weizhan_site",
- "parameters": { "maxFeatures": 500 },
- "symbol": {
- "type": "billboardP",
- "styleOptions": {
- "image": "img/marker/weizhan.png",
- "scale": 0.7,
- "scaleByDistance": true,
- "scaleByDistance_far": 20000,
- "scaleByDistance_farValue": 0.5,
- "scaleByDistance_near": 1000,
- "scaleByDistance_nearValue": 1,
- "clampToGround": true,
- "label": {
- "text": "{name}",
- "font_size": 15,
- "color": "#ffffff",
- "outline": true,
- "outlineColor": "#000000",
- "pixelOffsetY": -30,
- "distanceDisplayCondition": true,
- "distanceDisplayCondition_far": 2000,
- "distanceDisplayCondition_near": 0
- }
- }
- },
- "center": { "lat": 31.150799, "lng": 121.453263, "alt": 19428, "heading": 360, "pitch": -67 },
- "popup": "寰珯鍚�:{sitename}<br/>缂栫爜:{mn}"
- },
-
- { "id": 4021, "name": "宸ヤ笟鍖�", "type": "group" },
-
- {
- "pid": 4021,
- "name": "宸ヤ笟鍖�-WMS",
- "type": "wms",
- "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
- "layers": "konglu:geo_gongyequ_site",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "center": { "lat": 30.607634, "lng": 121.513731, "alt": 122859, "heading": 360, "pitch": -67 },
- "popup": "all",
- "show": false,
- "flyTo": true
- },
- {
- "pid": 4021,
- "name": "宸ヤ笟鍖�-WFS",
- "type": "wfs",
- "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
- "layer": "konglu:geo_gongyequ_site",
- "parameters": { "maxFeatures": 500 },
- "symbol": {
- "type": "polygonP",
- "styleOptions": { "color": "#00469c", "outline": false, "opacity": 1 }
- },
- "center": { "lat": 31.023182, "lng": 121.46353, "alt": 53186, "heading": 360, "pitch": -67 },
- "popup": "宸ヤ笟鍖哄悕:{regionname}"
- },
-
- { "id": 4022, "name": "鍥芥帶鐐�", "type": "group" },
- {
- "pid": 4022,
- "name": "鍥芥帶鐐规瘡澶╂暟鎹�-WFS",
- "type": "wfs",
- "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
- "layer": "konglu:dt_guokong_day",
- "parameters": { "maxFeatures": 500 },
- "symbol": {
- "type": "billboardP",
- "styleOptions": {
- "image": "img/marker/guokongday.png",
- "scale": 0.7,
- "scaleByDistance": true,
- "scaleByDistance_far": 20000,
- "scaleByDistance_farValue": 0.5,
- "scaleByDistance_near": 1000,
- "scaleByDistance_nearValue": 1,
- "clampToGround": true,
- "label": {
- "text": "{name}",
- "font_size": 15,
- "color": "#ffffff",
- "outline": true,
- "outlineColor": "#000000",
- "pixelOffsetY": -30,
- "distanceDisplayCondition": true,
- "distanceDisplayCondition_far": 2000,
- "distanceDisplayCondition_near": 0
- }
- }
- },
- "center": { "lat": 31.082997, "lng": 121.486309, "alt": 41884, "heading": 360, "pitch": -67 },
- "popup": "鍥芥帶鐐�:{NAME}<br/>鏃堕棿:{time}<br/>pm25:{pm25} ug/m3<br/>pm10:{pm10} ug/m3<br/>co:{co} ug/m3<br/>no:{no} ug/m3<br/>no2:{no2} ug/m3<br/>nox:{nox} ug/m3<br/>aqi:{aqi} ug/m3<br/>o3:{o3} ug/m3<br/>so2:{so2} ug/m3"
- },
- {
- "pid": 4022,
- "name": "鍥芥帶鐐规瘡澶╂暟鎹�-WMS",
- "type": "wms",
- "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
- "layers": "konglu:dt_guokong_day",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "center": { "lat": 30.937695, "lng": 121.596176, "alt": 81365, "heading": 360, "pitch": -67 },
- "popup": "all",
- "show": false,
- "flyTo": true
- },
-
- {
- "pid": 4022,
- "name": "鍥芥帶鐐规瘡鏃舵暟鎹�-WFS",
- "type": "wfs",
- "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
- "layer": "konglu:dt_guokong_hour",
- "parameters": { "maxFeatures": 500 },
- "symbol": {
- "type": "billboardP",
- "styleOptions": {
- "image": "img/marker/guokonghour.png",
- "scale": 0.7,
- "scaleByDistance": true,
- "scaleByDistance_far": 20000,
- "scaleByDistance_farValue": 0.5,
- "scaleByDistance_near": 1000,
- "scaleByDistance_nearValue": 1,
- "clampToGround": true,
- "label": {
- "text": "{name}",
- "font_size": 15,
- "color": "#ffffff",
- "outline": true,
- "outlineColor": "#000000",
- "pixelOffsetY": -30,
- "distanceDisplayCondition": true,
- "distanceDisplayCondition_far": 2000,
- "distanceDisplayCondition_near": 0
- }
- }
- },
- "center": { "lat": 31.082997, "lng": 121.486309, "alt": 41884, "heading": 360, "pitch": -67 },
- "popup": "鍥芥帶鐐�:{NAME}<br/>鏃堕棿:{time}<br/>pm25:{pm25} ug/m3<br/>pm10:{pm10} ug/m3<br/>co:{co} ug/m3<br/>no:{no} ug/m3<br/>no2:{no2} ug/m3<br/>nox:{nox} ug/m3<br/>aqi:{aqi} ug/m3<br/>o3:{o3} ug/m3<br/>so2:{so2} ug/m3"
- },
- {
- "pid": 4022,
- "name": "鍥芥帶鐐规瘡鏃舵暟鎹�-WMS",
- "type": "wms",
- "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
- "layers": "konglu:dt_guokong_hour",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "center": { "lat": 30.937695, "lng": 121.596176, "alt": 81365, "heading": 360, "pitch": -67 },
- "popup": "all",
- "show": false,
- "flyTo": true
- },
-
- {
- "pid": 4022,
- "name": "鍥芥帶鐐规瘡鍒嗘暟鎹�-WFS",
- "type": "wfs",
- "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
- "layer": "konglu:dt_guokong_min",
- "parameters": { "maxFeatures": 500 },
- "symbol": {
- "type": "billboardP",
- "styleOptions": {
- "image": "img/marker/guokongmin.png",
- "scale": 0.7,
- "scaleByDistance": true,
- "scaleByDistance_far": 20000,
- "scaleByDistance_farValue": 0.5,
- "scaleByDistance_near": 1000,
- "scaleByDistance_nearValue": 1,
- "clampToGround": true,
- "label": {
- "text": "{name}",
- "font_size": 15,
- "color": "#ffffff",
- "outline": true,
- "outlineColor": "#000000",
- "pixelOffsetY": -30,
- "distanceDisplayCondition": true,
- "distanceDisplayCondition_far": 2000,
- "distanceDisplayCondition_near": 0
- }
- }
- },
- "center": { "lat": 31.082997, "lng": 121.486309, "alt": 41884, "heading": 360, "pitch": -67 },
- "popup": "鍥芥帶鐐�:{NAME}<br/>鏃堕棿:{time}<br/>pm25:{pm25} ug/m3<br/>pm10:{pm10} ug/m3<br/>co:{co} ug/m3<br/>no:{no} ug/m3<br/>no2:{no2} ug/m3<br/>nox:{nox} ug/m3<br/>aqi:{aqi} ug/m3<br/>o3:{o3} ug/m3<br/>so2:{so2} ug/m3"
- },
- {
- "pid": 4022,
- "name": "鍥芥帶鐐规瘡鍒嗘暟鎹�-WMS",
- "type": "wms",
- "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
- "layers": "konglu:dt_guokong_min",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "center": { "lat": 30.607634, "lng": 121.513731, "alt": 122859, "heading": 360, "pitch": -67 },
- "popup": "all",
- "show": false,
- "flyTo": true
- },
-
- {
- "pid": 4022,
- "name": "鍥芥帶鐐�-WMS",
- "type": "wms",
- "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
- "layers": "konglu:geo_guokong_site",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "center": { "lat": 30.60276, "lng": 121.359562, "alt": 171391, "heading": 360, "pitch": -67 },
- "popup": "all",
- "show": false,
- "flyTo": true
- },
- {
- "pid": 4022,
- "name": "鍥芥帶鐐�-WFS",
- "type": "wfs",
- "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
- "layer": "konglu:geo_guokong_site",
- "parameters": { "maxFeatures": 500 },
- "symbol": {
- "type": "billboardP",
- "styleOptions": {
- "image": "img/marker/guokong.png",
- "scale": 0.7,
- "scaleByDistance": true,
- "scaleByDistance_far": 20000,
- "scaleByDistance_farValue": 0.5,
- "scaleByDistance_near": 1000,
- "scaleByDistance_nearValue": 1,
- "clampToGround": true,
- "label": {
- "text": "{name}",
- "font_size": 15,
- "color": "#ffffff",
- "outline": true,
- "outlineColor": "#000000",
- "pixelOffsetY": -30,
- "distanceDisplayCondition": true,
- "distanceDisplayCondition_far": 2000,
- "distanceDisplayCondition_near": 0
- }
- }
- },
- "center": { "lat": 31.135552, "lng": 121.451742, "alt": 31581, "heading": 360, "pitch": -67 },
- "popup": "siteid:{siteid}<br/>鍥芥帶鐐�:{sitename}<br/>琛屾斂鍖�:{regionname}"
- },
-
- { "id": 4023, "name": "鐩戞祴鐐�", "type": "group" },
- {
- "pid": 4023,
- "name": "鐩戞祴鐐规瘡澶╂暟鎹�-WFS",
- "type": "wfs",
- "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
- "layer": "konglu:dt_jiance_day",
- "parameters": { "maxFeatures": 500 },
- "symbol": {
- "type": "billboardP",
- "styleOptions": {
- "scale": 0.7,
- "scaleByDistance": true,
- "scaleByDistance_far": 20000,
- "scaleByDistance_farValue": 0.5,
- "scaleByDistance_near": 1000,
- "scaleByDistance_nearValue": 1,
- "clampToGround": true,
- "label": {
- "text": "{name}",
- "font_size": 15,
- "color": "#ffffff",
- "outline": true,
- "outlineColor": "#000000",
- "pixelOffsetY": -30,
- "distanceDisplayCondition": true,
- "distanceDisplayCondition_far": 2000,
- "distanceDisplayCondition_near": 0
- }
- }
- },
- "center": { "lat": 31.180609, "lng": 121.567331, "alt": 10633, "heading": 360, "pitch": -67 },
- "popup": "鐩戞祴鐐�:{name}<br/>缂栫爜:{id}<br/>鐩戞祴鏃堕棿:{time}<br/>tsp:{tsp} mg/cm3"
- },
- {
- "pid": 4023,
- "name": "鐩戞祴鐐规瘡澶╂暟鎹�-WMS",
- "type": "wms",
- "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
- "layers": "konglu:dt_jiance_day",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "center": { "lat": 30.607634, "lng": 121.513731, "alt": 122859, "heading": 360, "pitch": -67 },
- "popup": "all",
- "show": false,
- "flyTo": true
- },
-
- {
- "pid": 4023,
- "name": "鐩戞祴鐐规瘡鏃舵暟鎹�-WFS",
- "type": "wfs",
- "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
- "layer": "konglu:dt_jiance_hour",
- "parameters": { "maxFeatures": 500 },
- "symbol": {
- "type": "billboardP",
- "styleOptions": {
- "image": "img/marker/jiancehour.png",
- "scale": 0.7,
- "scaleByDistance": true,
- "scaleByDistance_far": 20000,
- "scaleByDistance_farValue": 0.5,
- "scaleByDistance_near": 1000,
- "scaleByDistance_nearValue": 1,
- "clampToGround": true,
- "label": {
- "text": "{name}",
- "font_size": 15,
- "color": "#ffffff",
- "outline": true,
- "outlineColor": "#000000",
- "pixelOffsetY": -30,
- "distanceDisplayCondition": true,
- "distanceDisplayCondition_far": 2000,
- "distanceDisplayCondition_near": 0
- }
- }
-
- },
- "center": { "lat": 31.180609, "lng": 121.567331, "alt": 10633, "heading": 360, "pitch": -67 },
- "popup": "鐩戞祴鐐�:{name}<br/>缂栫爜:{id}<br/>鐩戞祴鏃堕棿:{time}<br/>tsp:{tsp} mg/cm3"
- },
- {
- "pid": 4023,
- "name": "鐩戞祴鐐规瘡鏃舵暟鎹�-WMS",
- "type": "wms",
- "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
- "layers": "konglu:dt_jiance_hour",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "center": { "lat": 30.607634, "lng": 121.513731, "alt": 122859, "heading": 360, "pitch": -67 },
- "popup": "all",
- "show": false,
- "flyTo": true
- },
- {
- "pid": 4023,
- "name": "鐩戞祴鐐规瘡鍒嗘暟鎹�-WFS",
- "type": "wfs",
- "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
- "layer": "konglu:dt_jiance_min",
- "parameters": { "maxFeatures": 500 },
- "symbol": {
- "type": "billboardP",
- "styleOptions": {
- "image": "img/marker/jiancemin.png",
- "scale": 0.7,
- "scaleByDistance": true,
- "scaleByDistance_far": 20000,
- "scaleByDistance_farValue": 0.5,
- "scaleByDistance_near": 1000,
- "scaleByDistance_nearValue": 1,
- "clampToGround": true,
- "label": {
- "text": "{name}",
- "font_size": 15,
- "color": "#ffffff",
- "outline": true,
- "outlineColor": "#000000",
- "pixelOffsetY": -30,
- "distanceDisplayCondition": true,
- "distanceDisplayCondition_far": 2000,
- "distanceDisplayCondition_near": 0
- }
- }
- },
- "center": { "lat": 31.180609, "lng": 121.567331, "alt": 10633, "heading": 360, "pitch": -67 },
- "popup": "鐩戞祴鐐�:{name}<br/>缂栫爜:{id}<br/>鐩戞祴鏃堕棿:{time}<br/>tsp:{tsp} mg/cm3"
- },
- {
- "pid": 4023,
- "name": "鐩戞祴鐐规瘡鍒嗘暟鎹�-WMS",
- "type": "wms",
- "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
- "layers": "konglu:dt_jiance_min",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "center": { "lat": 30.607634, "lng": 121.513731, "alt": 122859, "heading": 360, "pitch": -67 },
- "popup": "all",
- "show": false,
- "flyTo": true
- },
-
- {
- "pid": 4023,
- "name": "鐩戞祴鐐�-WMS",
- "type": "wms",
- "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
- "layers": "konglu:geo_jiance_site",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "center": { "lat": 30.852151, "lng": 121.534794, "alt": 106390, "heading": 360, "pitch": -67 },
- "popup": "all",
- "show": false,
- "flyTo": true
- },
- {
- "pid": 4023,
- "name": "鐩戞祴鐐�-WFS",
- "type": "wfs",
- "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
- "layer": "konglu:geo_jiance_site",
- "parameters": { "maxFeatures": 500 },
- "symbol": {
- "type": "billboardP",
- "styleOptions": {
- "image": "img/marker/jiance.png",
- "scale": 0.7,
- "scaleByDistance": true,
- "scaleByDistance_far": 20000,
- "scaleByDistance_farValue": 0.5,
- "scaleByDistance_near": 1000,
- "scaleByDistance_nearValue": 1,
- "clampToGround": true,
- "label": {
- "text": "{name}",
- "font_size": 15,
- "color": "#ffffff",
- "outline": true,
- "outlineColor": "#000000",
- "pixelOffsetY": -30,
- "distanceDisplayCondition": true,
- "distanceDisplayCondition_far": 2000,
- "distanceDisplayCondition_near": 0
- }
- }
- },
- "center": { "lat": 31.166452, "lng": 121.438123, "alt": 9885, "heading": 360, "pitch": -67 },
- "popup": "鐩戞祴鐐�:{sitename}<br/>缂栫爜:{mn}"
- },
-
- {
- "pid": 4029,
- "name": "寤虹瓚鐗╅潰",
- "type": "wms",
- "url": "http://data.marsgis.cn/geoserver/mars/wms",
- "layers": "mars:hfjzw",
- "crs": "EPSG:4326",
- "parameters": { "transparent": "true", "format": "image/png" },
- "showClickFeature": true,
- "pickFeatureStyle": {
- "showTime": 5000,
- "fill": true,
- "color": "#2deaf7",
- "opacity": 0.6,
- "outline": true,
- "outlineWidth": 3,
- "outlineColor": "#e000d9",
- "outlineOpacity": 1.0,
- "clampToGround": true
- },
- "center": { "lat": 31.79513, "lng": 117.236172, "alt": 3784.6, "heading": 0.7, "pitch": -42.2, "roll": 0 },
- "popup": "all",
- "show": false,
- "flyTo": true
- }
+ { "name": "搴曞浘", "type": "tdt", "layer": "img_d", "key": ["9ae78c51a0a28f06444d541148496e36"] }
+ ],
+ "show":true
+ },
+ {
+ "pid": 10,
+ "name": "澶╁湴鍥剧數瀛�",
+ "icon": "img/basemaps/tdt_vec.png",
+ "type": "group",
+ "layers": [
+ { "name": "搴曞浘", "type": "tdt", "layer": "vec_d", "key": ["9ae78c51a0a28f06444d541148496e36"] }
]
- }
-}
\ No newline at end of file
+ }
+ ],
+ "layers": [
+ { "id": 50, "name": "杈呭姪鍥惧眰", "type": "group" },
+ { "pid": 50, "type": "graticule", "name": "缁忕含缃�" },
+ {
+ "pid": 50,
+ "name": "琛屾斂鍖哄垝鐣岀嚎",
+ "type": "xyz",
+ "url": "https://t{s}.tianditu.gov.cn/DataServer?T=ibo_w&x={x}&y={y}&l={z}&tk=9ae78c51a0a28f06444d541148496e36",
+ "subdomains": "01234567",
+ "maximumLevel": 10,
+ "mapSplit": false,
+ "show": true
+ },
+ {
+ "pid": 50,
+ "name": "楂樺痉瀹炴椂璺喌",
+ "type": "gaode",
+ "layer": "time",
+ "minimumTerrainLevel": 4,
+ "minimumLevel": 4,
+ "proxy": "//server.mars3d.cn/proxy/",
+ "mapSplit": false
+ },
+
+ { "id": 60, "name": "鍦板舰", "type": "group" },
+ { "pid": 60, "type": "terrain", "name": "Cesium鍦板舰", "terrain": { "type": "ion" }, "radio": true },
+ { "pid": 60, "type": "terrain", "name": "Mars3D鍦板舰", "terrain": { "type": "xyz", "url": "{dataServer}/terrain" }, "radio": true },
+ {
+ "pid": 60,
+ "type": "terrain",
+ "name": "ArcGIS鍦板舰",
+ "terrain": { "type": "arcgis", "url": "https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer" },
+ "radio": true
+ },
+ { "pid": 60, "type": "terrain", "name": "鏃犲湴褰�", "terrain": { "type": "none" }, "radio": true },
+
+ { "id": 40, "name": "鏍呮牸鏁版嵁", "type": "group" },
+ { "id": 4020, "pid": 40, "name": "OGC WMS鏈嶅姟", "type": "group" },
+ {
+ "pid": 4020,
+ "name": "鏁欒偛璁炬柦鐐�",
+ "type": "wms",
+ "url": "//server.mars3d.cn/geoserver/mars/wms",
+ "layers": "mars:hfjy",
+ "crs": "EPSG:4326",
+ "parameters": { "transparent": "true", "format": "image/png" },
+ "highlight": { "type": "click", "clampToGround": true },
+ "center": { "lat": 31.743214, "lng": 117.277097, "alt": 47197.7, "heading": 0.3, "pitch": -78.8 },
+ "popup": "鍚嶇О锛歿椤圭洰鍚嶇О}<br />绫诲瀷锛歿璁炬柦绫诲瀷}<br />闈㈢Н锛歿鐢ㄥ湴闈㈢Н}浜�<br />浣嶇疆锛歿鍏蜂綋浣嶇疆}",
+ "mapSplit": false,
+ "show": false,
+ "flyTo": true
+ },
+
+
+ {
+ "pid": 4020,
+ "name": "閬撹矾绾�",
+ "type": "wms",
+ "url": "//server.mars3d.cn/geoserver/mars/wms",
+ "layers": "mars:hfdl",
+ "crs": "EPSG:4326",
+ "parameters": { "transparent": "true", "format": "image/png" },
+ "center": { "lat": 31.743214, "lng": 117.277097, "alt": 47197.7, "heading": 0.3, "pitch": -78.8 },
+ "popup": "all",
+ "mapSplit": false,
+ "show": false,
+ "flyTo": true
+ },
+ {
+ "pid": 4020,
+ "name": "寤虹瓚鐗╅潰",
+ "type": "wms",
+ "url": "//server.mars3d.cn/geoserver/mars/wms",
+ "layers": "mars:hfjzw",
+ "crs": "EPSG:4326",
+ "parameters": { "transparent": "true", "format": "image/png" },
+ "highlight": {
+ "type": "click",
+ "showTime": 5000,
+ "fill": true,
+ "color": "#2deaf7",
+ "opacity": 0.6,
+ "outline": true,
+ "outlineWidth": 3,
+ "outlineColor": "#e000d9",
+ "outlineOpacity": 1.0,
+ "clampToGround": true
+ },
+ "center": { "lat": 31.79513, "lng": 117.236172, "alt": 3784.6, "heading": 0.7, "pitch": -42.2 },
+ "popup": "all",
+ "show": false,
+ "flyTo": true
+ },
+ {
+ "pid": 4020,
+ "name": "瑙勫垝闈�",
+ "type": "wms",
+ "url": "//server.mars3d.cn/geoserver/mars/wms",
+ "layers": "mars:hfgh",
+ "crs": "EPSG:4326",
+ "parameters": { "transparent": "true", "format": "image/png" },
+ "center": { "lat": 31.743214, "lng": 117.277097, "alt": 47197.7, "heading": 0.3, "pitch": -78.8 },
+ "popup": "all",
+ "show": false,
+ "flyTo": true
+ },
+ { "id": 4030, "pid": 40, "name": "ArcGIS 鐡︾墖", "type": "group" },
+ {
+ "pid": 4030,
+ "name": "鍚堣偉瑙勫垝鍥�",
+ "type": "arcgis_cache",
+ "url": "{dataServer}/arcgis_cache/hfgh/_alllayers/{z}/{y}/{x}.png",
+ "minimumLevel": 1,
+ "maximumLevel": 17,
+ "minimumTerrainLevel": 1,
+ "maximumTerrainLevel": 17,
+ "rectangle": { "xmin": 116.846, "xmax": 117.642, "ymin": 31.533, "ymax": 32.185 }
+ },
+ { "id": 4010, "pid": 40, "name": "ArcGIS Dynamic", "type": "group" },
+ {
+ "id": 401085,
+ "pid": 4010,
+ "type": "arcgis",
+ "name": "涓昏閬撹矾",
+ "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer",
+ "layers": "24",
+ "highlight": { "type": "click", "clampToGround": true },
+ "center": { "lat": 31.814176, "lng": 117.225362, "alt": 5105.3, "heading": 359.2, "pitch": -83.1 },
+ "popup": "all",
+ "onWidget": "widgets/manageLayers-tuli/heatmap.js",
+ "mapSplit": false
+ },
+ {
+ "id": 401086,
+ "pid": 4010,
+ "type": "arcgis",
+ "name": "寤虹瓚鐗�",
+ "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer",
+ "layers": "35,36,37,39",
+ "highlight": {
+ "type": "click",
+ "fill": true,
+ "color": "#2deaf7",
+ "opacity": 0.6,
+ "outline": true,
+ "outlineWidth": 3,
+ "outlineColor": "#e000d9",
+ "outlineOpacity": 1.0,
+ "clampToGround": true
+ },
+ "center": { "lat": 31.816951, "lng": 117.22898, "alt": 2916.7, "heading": 0.3, "pitch": -78.8 },
+ "popup": "鍚嶇О锛歿NAME}<br />灞傛暟锛歿floor}",
+ "onWidget": "widgets/manageLayers-tuli/heatmap.js"
+ },
+ {
+ "id": 401087,
+ "pid": 4010,
+ "type": "arcgis",
+ "name": "瑙勫垝",
+ "url": "//server.mars3d.cn/arcgis/rest/services/mars/guihua/MapServer",
+ "highlight": {
+ "type": "click",
+ "showTime": 5000,
+ "fill": true,
+ "color": "#2deaf7",
+ "opacity": 0.6,
+ "outline": true,
+ "outlineWidth": 3,
+ "outlineColor": "#e000d9",
+ "outlineOpacity": 1.0,
+ "clampToGround": true
+ },
+ "center": { "lat": 31.816951, "lng": 117.22898, "alt": 2916.7, "heading": 0.3, "pitch": -78.8 },
+ "popup": [
+ { "field": "鐢ㄥ湴鍚嶇О", "name": "鍚嶇О" },
+ { "field": "鐢ㄥ湴缂栧彿", "name": "缂栧彿" },
+ { "field": "瑙勫垝鐢ㄥ湴", "name": "瑙勫垝" },
+ { "type": "html", "html": "<div style='text-align: right;color: #ff0000;padding-right: 10px;'>鏁版嵁浠呬緵鍙傝��</div>" }
+ ],
+ "popupNoTitle": true,
+ "onWidget": "widgets/manageLayers-tuli/guihua.js"
+ },
+ { "id": 30, "name": "鐭㈤噺鏁版嵁", "type": "group" },
+ { "id": 3040, "pid": 30, "name": "骞冲彴鏍囩粯JSON", "type": "group" },
+ {
+ "id": 303011,
+ "pid": 3040,
+ "type": "geojson",
+ "name": "绀轰緥鏁版嵁",
+ "url": "{dataServer}/file/geojson/mars3d-draw.json",
+ "popup": "{type}{name}",
+ "show": false,
+ "flyTo": true
+ },
+ { "id": 3030, "pid": 30, "name": "GeoJSON鏁版嵁", "type": "group" },
+ {
+ "pid": 3030,
+ "type": "geojson",
+ "name": "鐢ㄥ湴瑙勫垝",
+ "url": "{dataServer}/file/geojson/guihua.json",
+ "symbol": {
+ "styleOptions": { "opacity": 0.6, "color": "#0000FF", "width": 3, "clampToGround": true },
+ "styleField": "绫诲瀷",
+ "styleFieldOptions": {
+ "涓�绫诲眳浣忕敤鍦�": { "color": "#FFDF7F" },
+ "浜岀被灞呬綇鐢ㄥ湴": { "color": "#FFFF00" },
+ "绀惧尯鏈嶅姟鐢ㄥ湴": { "color": "#FF6A38" },
+ "骞兼墭鐢ㄥ湴": { "color": "#FF6A38" },
+ "鍟嗕綇娣峰悎鐢ㄥ湴": { "color": "#FF850A" },
+ "琛屾斂鍔炲叕鐢ㄥ湴": { "color": "#FF00FF" },
+ "鏂囧寲璁炬柦鐢ㄥ湴": { "color": "#FF00FF" },
+ "灏忓鐢ㄥ湴": { "color": "#FF7FFF" },
+ "鍒濅腑鐢ㄥ湴": { "color": "#FF7FFF" },
+ "浣撹偛鍦虹敤鍦�": { "color": "#00A57C" },
+ "鍖婚櫌鐢ㄥ湴": { "color": "#A5527C" },
+ "绀句細绂忓埄鐢ㄥ湴": { "color": "#FF7F9F" },
+ "鍟嗕笟鐢ㄥ湴": { "color": "#FF0000" },
+ "鍟嗗姟鐢ㄥ湴": { "color": "#7F0000" },
+ "钀ヤ笟缃戠偣鐢ㄥ湴": { "color": "#FF7F7F" },
+ "涓�绫诲伐涓氱敤鍦�": { "color": "#A57C52" },
+ "绀句細鍋滆溅鍦虹敤鍦�": { "color": "#C0C0C0" },
+ "閫氫俊鐢ㄥ湴": { "color": "#007CA5" },
+ "鎺掓按鐢ㄥ湴": { "color": "#00BFFF" },
+ "鍏洯缁垮湴": { "color": "#00FF00" },
+ "闃叉姢缁垮湴": { "color": "#007F00" },
+ "娌虫祦姘村煙": { "color": "#7FFFFF" },
+ "閰嶅缓鍋滆溅鍦�": { "color": "#ffffff" },
+ "閬撹矾鐢ㄥ湴": { "color": "#ffffff" }
+ }
+ },
+ "popup": "{绫诲瀷}",
+ "show": false,
+ "flyTo": true
+ },
+ {
+ "pid": 3030,
+ "type": "geojson",
+ "name": "寤虹瓚鐗╅潰",
+ "url": "{dataServer}/file/geojson/buildings-demo.json",
+ "symbol": { "styleOptions": { "color": "#0d3685", "outlineColor": "#0d3685", "opacity": 0.8 } },
+ "buildings": { "cloumn": "floors", "height": "flo_height" },
+ "popup": "all",
+ "flyTo": true
+ },
+ {
+ "pid": 3030,
+ "type": "geojson",
+ "name": "瀹夊窘鍚勫競",
+ "url": "{dataServer}/file/geojson/areas/340000_full.json",
+ "symbol": {
+ "styleOptions": {
+ "fill": true,
+ "opacity": 0.5,
+ "outline": true,
+ "outlineColor": "#FED976",
+ "outlineWidth": 3,
+ "outlineOpacity": 1,
+ "perPositionHeight": false,
+ "label": {
+ "text": "{name}",
+ "opacity": 1,
+ "font_size": 30,
+ "color": "#ffffff",
+ "outline": true,
+ "outlineColor": "#000000",
+ "outlineWidth": 3,
+ "scaleByDistance": true,
+ "scaleByDistance_far": 2743804,
+ "scaleByDistance_farValue": 0.3,
+ "scaleByDistance_near": 10000,
+ "scaleByDistance_nearValue": 1,
+ "distanceDisplayCondition": true,
+ "distanceDisplayCondition_far": 2743804,
+ "distanceDisplayCondition_near": 0
+ }
+ }
+ },
+ "popup": "{name}",
+ "show": false,
+ "flyTo": true
+ },
+ {
+ "pid": 99,
+ "type": "geojson",
+ "name": "涓婃捣閬撹矾",
+ "url": "data/roads-gcj.json",
+ "symbol": {
+ "styleOptions": {
+ "color": "#ffffff",
+ "width": 2,
+ "opacity": 0.8,
+ "label": {
+ "text": "{name}",
+ "position": "center",
+ "font_size": 30,
+ "color": "#ffffff",
+ "outline": true,
+ "outlineColor": "#000000",
+ "scaleByDistance": true,
+ "scaleByDistance_far": 60000000,
+ "scaleByDistance_farValue": 0.2,
+ "scaleByDistance_near": 1000000,
+ "scaleByDistance_nearValue": 1,
+ "distanceDisplayCondition": true,
+ "distanceDisplayCondition_far": 12000000,
+ "distanceDisplayCondition_near": 0
+ }
+ }
+ },
+ "show": false,
+ "flyTo": true
+ },
+ {
+ "pid": 3030,
+ "type": "geojson",
+ "name": "瑗胯棌鍨彛",
+ "url": "{dataServer}/file/geojson/xizangyakou.json",
+ "symbol": {
+ "styleOptions": {
+ "image": "img/marker/mark1.png",
+ "scale": 1,
+ "scaleByDistance": true,
+ "scaleByDistance_far": 5000000,
+ "scaleByDistance_farValue": 0.5,
+ "scaleByDistance_near": 1000,
+ "scaleByDistance_nearValue": 1,
+ "verticalOrigin": 1,
+ "horizontalOrigin": 0,
+ "clampToGround": true,
+ "label": {
+ "text": "{NAME}",
+ "font_size": 25,
+ "color": "#ffff00",
+ "font_family": "寰蒋闆呴粦",
+ "outline": true,
+ "outlineColor": "#000000",
+ "pixelOffsetY": -40,
+ "scaleByDistance": true,
+ "scaleByDistance_far": 1000000,
+ "scaleByDistance_farValue": 0.5,
+ "scaleByDistance_near": 1000,
+ "scaleByDistance_nearValue": 1,
+ "distanceDisplayCondition": true,
+ "distanceDisplayCondition_far": 1000000,
+ "distanceDisplayCondition_near": 0,
+ "visibleDepth": true
+ }
+ }
+ },
+ "popup": [
+ { "field": "NAME", "name": "鍚嶇О" },
+ { "type": "details", "callback": "showPopupDetails", "field": "鍥剧墖" }
+ ],
+ "show": false,
+ "flyTo": true
+ },
+ {
+ "pid": 3030,
+ "type": "geojson",
+ "name": "浣撹偛璁炬柦鐐�",
+ "url": "{dataServer}/file/geojson/hfty-point.json",
+ "symbol": {
+ "styleOptions": {
+ "image": "img/marker/mark1.png",
+ "scale": 1,
+ "scaleByDistance": true,
+ "scaleByDistance_far": 20000,
+ "scaleByDistance_farValue": 0.5,
+ "scaleByDistance_near": 1000,
+ "scaleByDistance_nearValue": 1,
+ "verticalOrigin": 1,
+ "horizontalOrigin": 0,
+ "clampToGround": true,
+ "label": {
+ "text": "{椤圭洰鍚嶇О}",
+ "font_size": 25,
+ "color": "#ffffff",
+ "outline": true,
+ "outlineColor": "#000000",
+ "pixelOffsetY": -25,
+ "scaleByDistance": true,
+ "scaleByDistance_far": 80000,
+ "scaleByDistance_farValue": 0.5,
+ "scaleByDistance_near": 1000,
+ "scaleByDistance_nearValue": 1,
+ "distanceDisplayCondition": true,
+ "distanceDisplayCondition_far": 80000,
+ "distanceDisplayCondition_near": 0
+ }
+ }
+ },
+ "popup": [
+ { "field": "椤圭洰鍚嶇О", "name": "椤圭洰鍚嶇О" },
+ { "field": "寤鸿鎬ц川", "name": "寤鸿鎬ц川" },
+ { "field": "璁炬柦绾у埆", "name": "璁炬柦绾у埆" },
+ { "field": "鎵�灞炲尯鍘�", "name": "鎵�灞炲尯鍘�" },
+ { "field": "寤虹瓚鍐呭鍙�", "name": "寤虹瓚鍐呭" },
+ { "field": "鏂板鐢ㄥ湴锛�", "name": "鏂板鐢ㄥ湴" },
+ { "field": "寮�宸�", "name": "寮�宸�" },
+ { "field": "鎬绘姇璧勶紙涓�", "name": "鎬绘姇璧�" },
+ { "field": "璧勯噾鏉ユ簮", "name": "璧勯噾鏉ユ簮" },
+ { "field": "鍒濇閫夊潃", "name": "鍒濇閫夊潃" },
+ { "field": "璁炬柦绫诲瀷", "name": "璁炬柦绫诲瀷" },
+ { "field": "璁炬柦绛夌骇", "name": "璁炬柦绛夌骇" },
+ { "field": "鎵�鍦ㄥ尯鍘�", "name": "鎵�鍦ㄥ尯鍘�" },
+ { "field": "鍏蜂綋浣嶇疆", "name": "鍏蜂綋浣嶇疆" },
+ { "field": "寤鸿鍐呭锛�", "name": "寤鸿鍐呭" },
+ { "field": "鐢ㄥ湴闈㈢Н锛�", "name": "鐢ㄥ湴闈㈢Н", "format": "mars3d.MeasureUtil.formatArea" },
+ { "field": "璁炬柦瑙勬ā锛�", "name": "璁炬柦瑙勬ā" },
+ { "field": "涓惧姙鑰呯被鍨�", "name": "涓惧姙鑰呯被鍨�" },
+ { "field": "寮�宸ユ椂闂�", "name": "寮�宸ユ椂闂�" },
+ { "field": "鎬绘姇璧勯锛�", "name": "鎬绘姇璧勯", "unit": "浜垮厓" },
+ { "field": "椤圭洰鎺ㄨ繘涓�", "name": "椤圭洰鎺ㄨ繘涓讳綋" },
+ { "field": "椤圭洰杩涘害", "name": "椤圭洰杩涘害" },
+ { "field": "椤圭洰鏉ユ簮", "name": "椤圭洰鏉ユ簮" },
+ { "field": "澶囨敞", "name": "澶囨敞" }
+ ],
+ "show": false,
+ "flyTo": true
+ },
+ { "id": 3070, "pid": 30, "name": "GeoServer WFS", "type": "group" },
+ {
+ "pid": 3070,
+ "type": "wfs",
+ "name": "寤虹瓚鐗╅潰",
+ "url": "//server.mars3d.cn/geoserver/mars/ows",
+ "layer": "mars:hfjzw",
+ "parameters": { "maxFeatures": 500 },
+ "minimumLevel": 15,
+ "symbol": {
+ "type": "polygonP",
+ "styleOptions": { "color": "#00469c", "outline": false, "opacity": 1 }
+ },
+ "buildings": { "cloumn": "floor" },
+ "center": { "lat": 31.818396, "lng": 117.229083, "alt": 2554.4, "heading": 359.2, "pitch": -83.1 },
+ "popup": "鍚嶇О锛歿NAME}<br />灞傛暟锛歿floor}"
+ },
+ {
+ "pid": 3070,
+ "name": "鏁欒偛璁炬柦鐐�",
+ "type": "wfs",
+ "url": "//server.mars3d.cn/geoserver/mars/ows",
+ "layer": "mars:hfjy",
+ "parameters": { "maxFeatures": 500 },
+ "minimumLevel": 13,
+ "symbol": {
+ "type": "billboardP",
+ "styleOptions": {
+ "image": "img/marker/mark1.png",
+ "scale": 0.7,
+ "scaleByDistance": true,
+ "scaleByDistance_far": 20000,
+ "scaleByDistance_farValue": 0.5,
+ "scaleByDistance_near": 1000,
+ "scaleByDistance_nearValue": 1,
+ "clampToGround": true,
+ "label": {
+ "text": "{椤圭洰鍚嶇О}",
+ "font_size": 15,
+ "color": "#ffffff",
+ "outline": true,
+ "outlineColor": "#000000",
+ "pixelOffsetY": -30,
+ "distanceDisplayCondition": true,
+ "distanceDisplayCondition_far": 2000,
+ "distanceDisplayCondition_near": 0
+ }
+ }
+ },
+ "center": { "lat": 31.812256, "lng": 117.229873, "alt": 4683.91, "heading": 357.4, "pitch": -65.4 },
+ "popup": "all"
+ },
+ { "id": 3010, "pid": 30, "name": "ArcGIS WFS", "type": "group" },
+ {
+ "pid": 3010,
+ "type": "arcgis_wfs",
+ "name": "鍏磋叮鐐�",
+ "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer/1",
+ "where": " 1=1 ",
+ "minimumLevel": 15,
+ "center": { "lat": 31.818396, "lng": 117.229083, "alt": 2554.4, "heading": 359.2, "pitch": -83.1 },
+ "symbol": {
+ "type": "billboardP",
+ "styleOptions": {
+ "image": "img/marker/mark3.png",
+ "scale": 0.7,
+ "scaleByDistance": true,
+ "scaleByDistance_far": 20000,
+ "scaleByDistance_farValue": 0.5,
+ "scaleByDistance_near": 1000,
+ "scaleByDistance_nearValue": 1,
+ "clampToGround": true,
+ "label": {
+ "text": "{NAME}",
+ "font_size": 15,
+ "color": "#ffffff",
+ "outline": true,
+ "outlineColor": "#000000",
+ "pixelOffsetY": -30,
+ "distanceDisplayCondition": true,
+ "distanceDisplayCondition_far": 3000,
+ "distanceDisplayCondition_near": 0
+ }
+ },
+ "styleField": "address",
+ "styleFieldOptions": {
+ "AB03": { "image": "img/marker/mark1.png" },
+ "A980": { "image": "img/marker/mark2.png" },
+ "A900": { "image": "img/marker/mark4.png" }
+ }
+ },
+ "popup": "鍚嶇О锛歿NAME}<br />鍦板潃锛歿address}",
+ "show": false
+ },
+ {
+ "pid": 3010,
+ "type": "arcgis_wfs",
+ "name": "閬撹矾",
+ "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer/28",
+ "minimumLevel": 14,
+ "symbol": {
+ "type": "polylineP",
+ "styleOptions": { "color": "#3388ff", "width": 3, "clampToGround": true },
+ "styleField": "NAME",
+ "styleFieldOptions": {
+ "绁侀棬璺�": { "color": "#8744c0", "width": 3 },
+ "涓滄祦璺�": { "color": "#f7ba2a", "width": 3 },
+ "缈$繝璺�": { "color": "#20a0ff", "width": 3 },
+ "宀宠タ璺�": { "color": "#50bfff", "width": 3 }
+ }
+ },
+ "popup": "鍚嶇О锛歿NAME}",
+ "center": { "lat": 31.814176, "lng": 117.225362, "alt": 5105.3, "heading": 359.2, "pitch": -83.1 }
+ },
+ {
+ "pid": 3010,
+ "type": "arcgis_wfs",
+ "name": "寤虹瓚鐗╅潰",
+ "url": "//server.mars3d.cn/arcgis/rest/services/mars/hefei/MapServer/37",
+ "minimumLevel": 15,
+ "symbol": { "styleOptions": { "color": "#0d3685", "outlineColor": "#0d3685", "opacity": 0.8 } },
+ "buildings": { "cloumn": "floor" },
+ "debuggerTileInfo": false,
+ "center": { "lat": 31.816951, "lng": 117.22898, "alt": 1916.7, "heading": 0.3, "pitch": -78.8 },
+ "popup": "鍚嶇О锛歿NAME}<br />灞傛暟锛歿floor}"
+ },
+ { "id": 3060, "pid": 30, "name": "CZML鏁版嵁", "type": "group" },
+ {
+ "pid": 3060,
+ "type": "czml",
+ "name": "姹借溅",
+ "url": "{dataServer}/file/czml/car.czml",
+ "center": { "lat": 40.894745, "lng": 121.920252, "alt": 904, "heading": 64, "pitch": -67 },
+ "flyTo": true
+ },
+ {
+ "id": 306011,
+ "pid": 3060,
+ "type": "czml",
+ "name": "椋炶缂栭槦",
+ "url": "{dataServer}/file/czml/flight.czml",
+ "popup": "all",
+ "flyTo": true
+ },
+ {
+ "id": 306012,
+ "pid": 3060,
+ "type": "czml",
+ "name": "鑸硅埗缂栭槦",
+ "url": "{dataServer}/file/czml/ship.czml",
+ "popup": "all",
+ "flyTo": true
+ },
+ { "id": 3050, "pid": 30, "name": "KML鏁版嵁", "type": "group" },
+ { "pid": 3050, "type": "kml", "name": "娴蜂笂瀹夊叏璀﹀憡", "url": "{dataServer}/file/kml/NAVWARN.kmz", "popup": "all" },
+ {
+ "pid": 3050,
+ "type": "kml",
+ "name": "鍥藉绾�",
+ "url": "{dataServer}/file/kml/countryboundary.kml",
+ "symbol": { "styleOptions": { "color": "#FED976", "width": 2 } }
+ },
+ {
+ "pid": 3050,
+ "type": "kml",
+ "name": "鐪佺晫绾�",
+ "url": "{dataServer}/file/kml/province.kml",
+ "symbol": { "styleOptions": { "color": "#00FF00", "width": 2 } }
+ },
+ { "id": 20, "name": "涓夌淮妯″瀷", "type": "group" },
+ { "id": 2010, "pid": 20, "name": "gltf妯″瀷", "type": "group" },
+ {
+ "pid": 2010,
+ "type": "gltf",
+ "name": "椋庡姏鍙戠數鏈�",
+ "url": "{dataServer}/gltf/mars/fengche.gltf",
+ "position": { "lng": 117.219071, "lat": 31.828783, "alt": 39.87 },
+ "style": { "scale": 50, "heading": -93 },
+ "popup": "绀轰緥淇℃伅锛岃繖鏄竴涓鍔涘彂鐢垫満",
+ "center": { "lat": 31.821083, "lng": 117.21832, "alt": 832.64, "heading": 2.3, "pitch": -39.2 }
+ },
+ {
+ "pid": 2010,
+ "type": "gltf",
+ "name": "璧烽噸杞�",
+ "url": "{dataServer}/gltf/mars/qzcar/GKZY_anim.gltf",
+ "position": { "lng": 117.217458, "lat": 31.815349, "alt": 35.03 },
+ "style": { "scale": 2, "heading": -95, "clampToGround": true },
+ "center": { "lat": 31.815363, "lng": 117.215958, "alt": 107.35, "heading": 90.7, "pitch": -26.1 }
+ },
+ { "id": 2040, "pid": 20, "name": "鍩庡競鐧芥ā", "type": "group" },
+ {
+ "id": 204011,
+ "pid": 2040,
+ "type": "3dtiles",
+ "name": "鍚堣偉甯傚尯",
+ "url": "{dataServer}/3dtiles/jzw-hefei/tileset.json",
+ "maximumScreenSpaceError": 1,
+ "maximumMemoryUsage": 1024,
+ "marsJzwStyle": true,
+ "highlight": { "type": "click", "color": "#FFFF00" },
+ "popup": [
+ { "field": "objectid", "name": "缂栧彿" },
+ { "field": "name", "name": "鍚嶇О" },
+ { "field": "height", "name": "妤奸珮", "unit": "绫�" }
+ ],
+ "center": { "lat": 31.786281, "lng": 117.223716, "alt": 3718, "heading": 2, "pitch": -45 }
+ },
+ {
+ "id": 204012,
+ "pid": 2040,
+ "type": "3dtiles",
+ "name": "涓婃捣甯傚尯",
+ "url": "{dataServer}/3dtiles/jzw-shanghai/tileset.json",
+ "maximumScreenSpaceError": 4,
+ "maximumMemoryUsage": 1024,
+ "style": {
+ "color": {
+ "conditions": [
+ ["${floor} >= 200", "rgba(45, 0, 75, 0.5)"],
+ ["${floor} >= 100", "rgb(170, 162, 204)"],
+ ["${floor} >= 50", "rgb(224, 226, 238)"],
+ ["${floor} >= 25", "rgb(252, 230, 200)"],
+ ["${floor} >= 10", "rgb(248, 176, 87)"],
+ ["${floor} >= 5", "rgb(198, 106, 11)"],
+ ["true", "rgb(127, 59, 8)"]
+ ]
+ }
+ },
+ "highlight": { "type": "click", "color": "#FFFF00" },
+ "popup": [
+ { "field": "name", "name": "鍚嶇О" },
+ { "field": "floor", "name": "妤煎眰" }
+ ],
+ "center": { "lat": 31.257341, "lng": 121.466139, "alt": 2170.8, "heading": 122.2, "pitch": -31.8 }
+ },
+ { "id": 2060, "pid": 20, "name": "BIM妯″瀷", "type": "group" },
+ {
+ "id": 20601121,
+ "pid": 2060,
+ "type": "3dtiles",
+ "name": "澶у鏁欏妤�",
+ "url": "{dataServer}/3dtiles/bim-daxue/tileset.json",
+ "position": { "lng": 117.251229, "lat": 31.844015, "alt": 31.2 },
+ "highlight": { "type": "click", "color": "#FFFF00" },
+ "popup": "all",
+ "scenetree": "scenetree.json",
+ "center": { "lat": 31.842516, "lng": 117.25107, "alt": 145, "heading": 8, "pitch": -39 }
+ },
+ {
+ "pid": 2060,
+ "type": "3dtiles",
+ "name": "杞昏建鍦伴搧绔�",
+ "url": "{dataServer}/3dtiles/bim-ditiezhan/tileset.json",
+ "position": { "lng": 117.203994, "lat": 31.857999, "alt": 28.9 },
+ "rotation": { "z": 168.1 },
+ "highlight": { "type": "click", "color": "#00FF00" },
+ "popup": "all",
+ "scenetree": "scenetree.json",
+ "center": { "lat": 31.856125, "lng": 117.204513, "alt": 155, "heading": 350, "pitch": -31 }
+ },
+ {
+ "id": 206012,
+ "pid": 2060,
+ "type": "3dtiles",
+ "name": "妗ユ",
+ "url": "{dataServer}/3dtiles/bim-qiaoliang/tileset.json",
+ "position": { "lng": 117.096906, "lat": 31.851564, "alt": 45 },
+ "rotation": { "z": 17.5 },
+ "maximumScreenSpaceError": 16,
+ "maximumMemoryUsage": 1024,
+ "skipLevelOfDetail": true,
+ "loadSiblings": true,
+ "cullRequestsWhileMoving": true,
+ "cullRequestsWhileMovingMultiplier": 10,
+ "preferLeaves": true,
+ "progressiveResolutionHeightFraction": 0.5,
+ "dynamicScreenSpaceError": true,
+ "preloadWhenHidden": true,
+ "center": { "lat": 31.849357, "lng": 117.099194, "alt": 306.2, "heading": 327.1, "pitch": -30.9 },
+ "scenetree": "scenetree.json",
+ "highlight": { "type": "click", "color": "#00FF00" },
+ "popup": "all"
+ },
+ { "id": 2020, "pid": 20, "name": "浜哄伐寤烘ā", "type": "group" },
+ {
+ "id": 202013,
+ "pid": 2020,
+ "type": "3dtiles",
+ "name": "鍦颁笅绠$綉",
+ "url": "{dataServer}/3dtiles/max-piping/tileset.json",
+ "position": { "lng": 117.215457, "lat": 31.843363, "alt": -3.6 },
+ "rotation": { "z": 336.7 },
+ "maximumScreenSpaceError": 2,
+ "maximumMemoryUsage": 1024,
+ "highlight": { "type": "click", "color": "#00FF00" },
+ "popup": "all",
+ "center": { "lat": 31.838821, "lng": 117.216402, "alt": 461, "heading": 0, "pitch": -46 },
+ "msg": "婕旂ず鏁版嵁锛屽湴涓嬫暟鎹嫋鍔ㄦ椂浼氬湪鍦伴潰婕傜Щ"
+ },
+ {
+ "id": 202012,
+ "pid": 2020,
+ "type": "3dtiles",
+ "name": "鐭冲寲宸ュ巶",
+ "url": "{dataServer}/3dtiles/max-shihua/tileset.json",
+ "position": { "lng": 117.077158, "lat": 31.659116, "alt": 24.6 },
+ "maximumScreenSpaceError": 1,
+ "maximumMemoryUsage": 1024,
+ "highlight": { "type": "click", "color": "#00FF00" },
+ "popup": "all",
+ "scenetree": "scenetree.json",
+ "center": { "lat": 31.654916, "lng": 117.08278, "alt": 279, "heading": 316, "pitch": -29 }
+ },
+ {
+ "id": 202030,
+ "pid": 2020,
+ "name": "姘村埄闂搁棬",
+ "type": "group",
+ "center": { "lat": 29.794301, "lng": 121.47998, "alt": 262, "heading": 191, "pitch": -35 }
+ },
+ {
+ "pid": 202030,
+ "type": "gltf",
+ "name": "闂搁棬",
+ "url": "{dataServer}/gltf/mars/zhamen.glb",
+ "position": { "lng": 121.479813, "lat": 29.791278, "alt": 16 },
+ "style": { "heading": 105 },
+ "center": { "lat": 29.791607, "lng": 121.479925, "alt": 27, "heading": 198, "pitch": -18 }
+ },
+ {
+ "id": 202011,
+ "pid": 202030,
+ "type": "3dtiles",
+ "name": "鏁翠綋",
+ "url": "{dataServer}/3dtiles/max-fsdzm/tileset.json",
+ "position": { "alt": 15.2 },
+ "maximumScreenSpaceError": 1,
+ "maximumMemoryUsage": 1024,
+ "center": { "lat": 29.792675, "lng": 121.480207, "alt": 190.8, "heading": 196.1, "pitch": -49 }
+ },
+ { "id": 2030, "pid": 20, "name": "鍊炬枩鎽勫奖", "type": "group" },
+ {
+ "id": 203014,
+ "pid": 2030,
+ "type": "3dtiles",
+ "name": "鍘垮煄绀惧尯",
+ "url": "{dataServer}/3dtiles/qx-shequ/tileset.json",
+ "position": { "alt": 11.5 },
+ "maximumScreenSpaceError": 2,
+ "maximumMemoryUsage": 2048,
+ "dynamicScreenSpaceError": true,
+ "cullWithChildrenBounds": false,
+ "center": { "lat": 28.440864, "lng": 119.486477, "alt": 588.23, "heading": 268.6, "pitch": -37.8 },
+ "show": false,
+ "flyTo": false
+ },
+ {
+ "id": 203015,
+ "pid": 2030,
+ "type": "3dtiles",
+ "name": "灏忓尯",
+ "url": "{dataServer}/3dtiles/qx-xiaoqu/tileset.json",
+ "maximumScreenSpaceError": 6,
+ "maximumMemoryUsage": 2048,
+ "dynamicScreenSpaceError": true,
+ "cullWithChildrenBounds": false,
+ "skipLevelOfDetail": true,
+ "preferLeaves": true,
+ "center": { "lat": 25.078322, "lng": 102.653514, "alt": 3006, "heading": 29, "pitch": -45 }
+ },
+ {
+ "id": 203013,
+ "pid": 2030,
+ "type": "geojson",
+ "name": "鏂囧簷-鍗曚綋鍖�",
+ "url": " {dataServer}/file/geojson/dth-wm.json",
+ "symbol": {
+ "type": "polygonP",
+ "styleOptions": {
+ "color": "rgba(255, 255, 255, 0.01)",
+ "clampToGround": true,
+ "classification": true,
+ "buffer": 1,
+ "highlight": {
+ "color": "rgba(255,255,0,0.5)"
+ }
+ }
+ },
+ "popup": [
+ { "field": "name", "name": "鎴垮眿鍚嶇О" },
+ { "field": "jznf", "name": "寤洪�犲勾浠�" },
+ { "field": "ssdw", "name": "鎵�灞炲崟浣�" },
+ { "field": "remark", "name": "澶囨敞淇℃伅" }
+ ]
+ },
+ {
+ "id": 203012,
+ "pid": 2030,
+ "type": "3dtiles",
+ "name": "鏂囧簷",
+ "url": "{dataServer}/3dtiles/qx-simiao/tileset.json",
+ "position": { "alt": 80.6 },
+ "maximumScreenSpaceError": 2,
+ "maximumMemoryUsage": 2048,
+ "dynamicScreenSpaceError": true,
+ "cullWithChildrenBounds": false,
+ "skipLevelOfDetail": true,
+ "preferLeaves": true,
+ "center": { "lat": 33.589536, "lng": 119.032216, "alt": 145.08, "heading": 3.1, "pitch": -22.9 }
+ },
+ { "id": 99, "name": "鏁版嵁鍥惧眰", "type": "group" }
+ ]
+ }
+}
--
Gitblit v1.9.1