配置调整

This commit is contained in:
2026-05-23 09:42:52 +08:00
parent b3089a254e
commit 225dd2bc20
4 changed files with 160 additions and 21 deletions

View File

@@ -0,0 +1,122 @@
{
"map3d": {
"chinaCRS":"WGS84",
"scene": {
"center": {
"lat": 32.017007,
"lng": 118.816721,
"alt": 1540,
"heading": 0,
"roll": 0,
"pitch": -22
},
"scene3DOnly": false,
"removeDblClick": true,
"sceneMode": 2,
"showSun": false,
"showMoon": false,
"showSkyBox": true,
"showSkyAtmosphere": true,
"fxaa": true,
"logarithmicDepthBuffer": false,
"requestRenderMode": true,
"globe": {
"depthTestAgainstTerrain": false,
"baseColor": "#546a53",
"showGroundAtmosphere": true,
"enableLighting": false
},
"contextOptions": {
"webgl": {
"preserveDrawingBuffer": true
}
},
"cameraController": {
"zoomFactor": 3.0,
"minimumZoomDistance": 1,
"maximumZoomDistance": 50000000,
"enableRotate": true,
"enableTranslate": true,
"enableTilt": true,
"enableZoom": true,
"enableCollisionDetection": true,
"minimumCollisionTerrainHeight": 15000
}
},
"control": {
"clockAnimate": false,
"homeButton": false,
"baseLayerPicker": false,
"sceneModePicker": true,
"vrButton": false,
"fullscreenButton": false,
"navigationHelpButton": false,
"animation": false,
"timeline": false,
"infoBox": false,
"geocoder": false,
"selectionIndicator": false,
"showRenderLoopErrors": false,
"contextmenu": { "hasDefault": true },
"mouseDownView": true,
"zoom": { "insertIndex": 1 },
"compass": { "bottom": "toolbar", "right": "5px" },
"distanceLegend": { "left": "100px", "bottom": "-20px" },
"locationBar": {
"crs": "CGCS2000_GK_Zone_3",
"crsDecimal": 0,
"template": "<div>经度:{lng}</div> <div>纬度:{lat}</div> <div class='hide1000'>横{crsx} 纵{crsy}</div> <div>海拔:{alt}米</div> <div class='hide700'>层级:{level}</div><div>方向:{heading}°</div> <div>俯仰角:{pitch}°</div><div class='hide700'>视高:{cameraHeight}米</div>"
}
},
"templateValues": {
"dataServer": "//27.11.11.30:9000/3d-model/gaode",
"gltfServerUrl": "//27.11.11.30:9000/3d-model/gaode/gltf"
},
"terrain": {
},
"basemaps": [
{ "id": 10, "name": "地图底图", "type": "group"},
{
"id": 1000,
"pid": 10,
"name": "离线地图",
"chinaCRS":"GCJ02",
"icon": "https://27.11.11.30:9000/3d-model/gaode/img/thumbnail/basemap/tdt_img.png",
"type": "google",
"url": "http://27.11.11.30:9000/3d-model/chuzhou/{z}/{x}/{y}.webp",
"show": true
},
{
"pid": 10,
"name": "高德影像",
"type": "group",
"icon": "https://27.11.11.30:9000/3d-model/gaode/img/thumbnail/basemap/tdt_img.png",
"layers": [
{ "name": "底图", "type": "gaode", "layer": "img_d" },
{ "name": "注记", "type": "gaode", "layer": "img_z" }
]
},{
"name": "天地图影像(EPSG:3857)",
"icon": "https://27.11.11.30:9000/3d-model/gaode/img/thumbnail/basemap/tdt_img.png",
"type": "tdt",
"layer": "img_d",
"show": false
},
{
"name": "天地图电子(EPSG:3857)",
"icon": "https://27.11.11.30:9000/3d-model/gaode/img/thumbnail/basemap/tdt_vec.png",
"type": "group",
"layers": [
{ "name": "底图", "type": "tdt", "layer": "vec_d" },
{ "name": "注记", "type": "tdt", "layer": "vec_z" }
]
}
],
"layers": [
{ "id": 50, "name": "模型图层", "type": "group" },
{ "id": 10000, "name": "行政区", "type": "group" }
]
}
}