Fei_Xian_Lin_Ye_Fang_Huo/public/industry/geojson/config.json

465 lines
15 KiB
JSON
Raw Normal View History

2023-08-18 08:55:52 +08:00
{
"map3d": {
"scene": {
"center": { "lat": 35.04055, "lng": 118.18439, "alt": 35310, "heading": 359.2, "pitch": -90, "roll": 360 },
"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": true,
"vrButton": false,
"fullscreenButton": false,
"navigationHelpButton": true,
"animation": false,
"timeline": false,
"infoBox": false,
"geocoder": false,
"geocoderConfig": { "key": ["ae29a37307840c7ae4a785ac905927e0"], "citycode": "" },
"defaultContextMenu": true,
"mouseDownView": true,
"location": {
"fps": true,
"format": "<div>经度:{x}</div> <div>纬度:{y}</div> <div>海拔:{z}米</div> <div>层级:{level}</div> <div>俯仰角:{pitch}度</div> <div>视高:{height}米</div>"
},
"navigation": {
"legend": { "left": "0px", "bottom": "-1px" },
"compass": { "bottom": "240px", "right": "2px" }
}
},
"terrain": {
"url": "http://data.marsgis.cn/terrain",
"show": true
},
"basemaps": [
{ "id": 10, "name": "地图底图", "type": "group" },
{
"pid": 10,
"name": "天地图卫星",
"icon": "img/basemaps/tdt_img.png",
"type": "tdt",
"layer": "img_d",
"key": ["9ae78c51a0a28f06444d541148496e36"],
"show": true
},
{ "id": 9030, "name": "数据资源", "type": "group" },
{
"id":9031,
"pid": 9030,
"type": "geojson",
"name": "僵尸企业",
"url": "/geojson/camera.json",
"minimumLevel": 12,
"symbol": {
"styleOptions": {
"image": "/img/marker/mark1.png",
"scale": 1,
"scaleByDistance": true,
"scaleByDistance_far": 5000000,
"scaleByDistance_farValue": 0.5,
"scaleByDistance_near": 1000,
"scaleByDistance_nearValue": 1,
"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
}
}
},
"center": { "lat": 35.040286, "lng": 118.191589, "alt": 33785.9, "heading": 359.2, "pitch": -90, "roll": 360 },
"flyTo": true
},
{
"id":9031,
"pid": 9030,
"type": "geojson",
"name": "规上企业",
"url": "/geojson/camera.json",
"minimumLevel": 12,
"symbol": {
"styleOptions": {
"image": "/img/marker/mark1.png",
"scale": 1,
"scaleByDistance": true,
"scaleByDistance_far": 5000000,
"scaleByDistance_farValue": 0.5,
"scaleByDistance_near": 1000,
"scaleByDistance_nearValue": 1,
"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
}
}
},
"center": { "lat": 35.040286, "lng": 118.191589, "alt": 33785.9, "heading": 359.2, "pitch": -90, "roll": 360 },
"flyTo": true
},
{
"id":9031,
"pid": 9030,
"type": "geojson",
"name": "招商用地",
"url": "/geojson/camera.json",
"minimumLevel": 12,
"symbol": {
"styleOptions": {
"image": "/img/marker/mark1.png",
"scale": 1,
"scaleByDistance": true,
"scaleByDistance_far": 5000000,
"scaleByDistance_farValue": 0.5,
"scaleByDistance_near": 1000,
"scaleByDistance_nearValue": 1,
"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
}
}
},
"center": { "lat": 35.040286, "lng": 118.191589, "alt": 33785.9, "heading": 359.2, "pitch": -90, "roll": 360 },
"flyTo": true
},
{
"id":9031,
"pid": 9030,
"type": "geojson",
"name": "视频监控",
"url": "/industry/geojson/camera.json",
"minimumLevel": 14,
"symbol": {
"styleOptions": {
"image": "/industry/img/camera.png",
"scale": 1,
"scaleByDistance": true,
"scaleByDistance_far": 5000000,
"scaleByDistance_farValue": 0.5,
"scaleByDistance_near": 1000,
"scaleByDistance_nearValue": 1,
"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
}
}
},
"center": { "lat": 35.040286, "lng": 118.191589, "alt": 33785.9, "heading": 359.2, "pitch": -90, "roll": 360 },
"flyTo": true
},
{
"id":9031,
"pid": 9030,
"type": "geojson",
"name": "科技园区",
"url": "/geojson/camera.json",
"minimumLevel": 12,
"symbol": {
"styleOptions": {
"image": "/img/marker/mark1.png",
"scale": 1,
"scaleByDistance": true,
"scaleByDistance_far": 5000000,
"scaleByDistance_farValue": 0.5,
"scaleByDistance_near": 1000,
"scaleByDistance_nearValue": 1,
"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
}
}
},
"center": { "lat": 35.040286, "lng": 118.191589, "alt": 33785.9, "heading": 359.2, "pitch": -90, "roll": 360 },
"flyTo": true
},
{ "id": 9020, "name": "图层资源", "type": "group" },
{
"pid":9020,
"id": 9024,
"type": "arcgis",
"name": "交通规划面",
"url": "http://arcgis.cn.utools.club/arcgis/rest/services/GXQDK/MapServer",
"layers":"0",
"enablePickFeatures": true,
"showClickFeature": true,
"pickFeatureStyle": {
"showTime": 50000,
"fill": true,
"color": "#2deaf7",
"opacity": 0.1,
"outline": true,
"outlineWidth": 3,
"outlineColor": "#e000d9",
"outlineOpacity": 1.0,
"clampToGround": true
},
"popup": "all",
"tooltip":"all",
"center": { "lat": 35.040286, "lng": 118.191589, "alt": 33785.9, "heading": 359.2, "pitch": -90, "roll": 360 },
"show":false
},
{
"pid":9020,
"id": 9022,
"type": "arcgis",
"name": "城镇使用土地规划",
"url": "http://arcgis.cn.utools.club/arcgis/rest/services/GXQDK/MapServer",
"layers":"0",
"showClickFeature": true,
"pickFeatureStyle": {
"showTime": 50000,
"fill": true,
"color": "#2deaf7",
"opacity": 0.1,
"outline": true,
"outlineWidth": 3,
"outlineColor": "#e000d9",
"outlineOpacity": 1.0,
"clampToGround": true
},
"popup": "all",
"center": { "lat": 35.040286, "lng": 118.191589, "alt": 33785.9, "heading": 359.2, "pitch": -90, "roll": 360 }
},
{
"pid":9020,
"id": 9022,
"type": "arcgis",
"name": "土地利用总体规划",
"url": "http://arcgis.cn.utools.club/arcgis/rest/services/GXQDK/MapServer",
"layers":"0",
"showClickFeature": true,
"pickFeatureStyle": {
"showTime": 50000,
"fill": true,
"color": "#2deaf7",
"opacity": 0.1,
"outline": true,
"outlineWidth": 3,
"outlineColor": "#e000d9",
"outlineOpacity": 1.0,
"clampToGround": true
},
"popup": "all",
"center": { "lat": 35.040286, "lng": 118.191589, "alt": 33785.9, "heading": 359.2, "pitch": -90, "roll": 360 }
},
{
"pid":9020,
"id": 9021,
"type": "arcgis",
"name": "土地利用现状",
"url": "http://arcgis.cn.utools.club/arcgis/rest/services/GXQDK/MapServer",
"layers":"0",
"showClickFeature": true,
"pickFeatureStyle": {
"showTime": 50000,
"fill": true,
"color": "#2deaf7",
"opacity": 0.1,
"outline": true,
"outlineWidth": 3,
"outlineColor": "#e000d9",
"outlineOpacity": 1.0,
"clampToGround": true
},
"center": { "lat": 35.040286, "lng": 118.191589, "alt": 33785.9, "heading": 359.2, "pitch": -90, "roll": 360 },
"popup": "all"
},
{ "id": 9010, "name": "行政界线", "type": "group" },
{
"pid":9010,
"id": 9014,
"type": "wfs",
"name": "村名称",
"url": "http://geoserver.cn.utools.club/geoserver/gaoxinqu/ows",
"layer":"gaoxinqu:cunjie_4326",
"symbol": {
"styleOptions": {
"fill": false,
"color": "rgb(2,26,79)",
"opacity": 1,
"outline": true,
"outlineColor": "yellow",
"outlineWidth": 1.1,
"outlineOpacity": 0.7,
"clampToGround": true,
"label":{
"text": "{XZQMC}",
"opacity": 1,
"font_size": 16,
"color": "#000000",
"outline": true,
"outlineColor":"#ffffff"
}
}
},
"center": { "lat": 35.040286, "lng": 118.191589, "alt": 33785.9, "heading": 359.2, "pitch": -90, "roll": 360 },
"popup": "{XZQMC}"
},
{
"pid":9010,
"id": 9013,
"type": "wfs",
"name": "村边界",
"url": "http://geoserver.cn.utools.club/geoserver/gaoxinqu/ows",
"layer":"gaoxinqu:cunjie_4326",
"show":false,
"symbol": {
"styleOptions": {
"fill": false,
"color": "rgb(2,26,79)",
"opacity": 1,
"outline": true,
"outlineColor": "yellow",
"outlineWidth": 1.1,
"outlineOpacity": 0.7,
"clampToGround": true
}
},
"center": { "lat": 35.040286, "lng": 118.191589, "alt": 33785.9, "heading": 359.2, "pitch": -90, "roll": 360 },
"popup": "{XZQMC}"
},
{
"pid":9010,
"id": 9012,
"type": "wfs",
"name": "镇边界",
"url": "http://geoserver.cn.utools.club/geoserver/gaoxinqu/ows",
"layer": "gaoxinqu:zhenjie_4326",
"symbol": {
"styleOptions": {"fill":false, "opacity": 0, "color": "#0000FF", "width": 3, "clampToGround": true,"outline":true,"outlineWidth":2,"outlineColor":"purple",
"label":{
"text": "{XZQHMC}",
"opacity": 1,
"font_size": 24,
"color": "#ffffff"
}
}
},
"center": { "lat": 35.040286, "lng": 118.191589, "alt": 33785.9, "heading": 359.2, "pitch": -90, "roll": 360 },
"show":false,
"flyTo":true
},
{
"pid":9010,
"id": 9011,
"type": "wfs",
"name": "区边界",
"url": "http://geoserver.cn.utools.club/geoserver/gaoxinqu/ows",
"layer": "gaoxinqu:qxbj",
"show":true,
"symbol": {
"styleOptions": {
"fill": false,
"color": "rgb(2,26,79)",
"opacity": 0,
"outline": true,
"outlineColor": "red",
"outlineWidth": 2,
"outlineOpacity": 0.8,
"clampToGround": true
}
},
"center": { "lat": 35.040286, "lng": 118.191589, "alt": 33785.9, "heading": 359.2, "pitch": -90, "roll": 360 }
}
]
}
}