Initial commit

This commit is contained in:
zyp
2026-05-22 16:13:20 +08:00
commit b3089a254e
1444 changed files with 372077 additions and 0 deletions

View File

@@ -0,0 +1,128 @@
{
"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,
"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": "https://shanghai-jsredfly-test.oss-cn-shanghai.aliyuncs.com/map/daxinggong/{z}/{x}/{y}.webp"
},
{
"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": true
},{
"id": 1001,
"pid": 10,
"name": "天地图卫星注记",
"show":true,
"chinaCRS":"WGC84", "type": "google",
"icon": "https://27.11.11.30:9000/3d-model/gaode/img/thumbnail/basemap/tdt_img.png",
"url": "https://t1.tianditu.gov.cn/DataServer?T=cia_w&x={x}&y={y}&l={z}&tk=fea2a5f74f87437f12fb8807eaa73264"
},
{
"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" }
]
}
}

122
public/config/config.json Normal file
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" }
]
}
}

187
public/config/fly.json Normal file
View File

@@ -0,0 +1,187 @@
[
{
"id": "1",
"positions": [
[117.220904, 31.833797, 43.75],
[117.220356, 31.833959, 43.67],
[117.220361, 31.835111, 44.36],
[117.213242, 31.835863, 42.31],
[117.211926, 31.835738, 42.14],
[117.183103, 31.833906, 47.17],
[117.183136, 31.833586, 47.39],
[117.183968, 31.833637, 47.05],
[117.184038, 31.833134, 47.39],
[117.184364, 31.833142, 47.26],
[117.184519, 31.833375, 47.04]
],
"style": { "color": "#ffff00", "width": 3 },
"attr": {
"name": "步行贴地路线",
"model": "model_man",
"clampToGround": true,
"interpolation": false,
"showGroundHeight": false,
"showLabel": false,
"showLine": false,
"showShadow": false,
"shadowType": "wall",
"cameraType": "gs",
"followedX": 50,
"followedZ": 10,
"clockLoop": false,
"speed": [50, 50, 50, 50, 50, 50, 50, 50, 50, 50]
}
},
{
"id": "2",
"positions": [
[116.043233, 30.845286, 392.48],
[116.046833, 30.846863, 411.33],
[116.052137, 30.848801, 439.45],
[116.060838, 30.850918, 442.91],
[116.069013, 30.852035, 435.14],
[116.18739, 30.854441, 244.53],
[116.205214, 30.859332, 300.96]
],
"style": { "color": "#ffff00", "width": 3 },
"attr": {
"name": "驾车贴地路线",
"model": "model_car",
"clampToGround": true,
"showGroundHeight": false,
"showLabel": false,
"showLine": true,
"showShadow": false,
"shadowType": "wall",
"cameraType": "gs",
"followedX": 50,
"followedZ": 50,
"clockLoop": false,
"speed": 160
}
},
{
"id": "3",
"positions": [
[117.245989, 31.852285, 100],
[117.246347, 31.834418, 300],
[117.246703, 31.816635, 500]
],
"style": { "color": "#ffff00", "width": 3 },
"attr": {
"name": "飞机飞行投影",
"point": "model_zhanji",
"showLabel": false,
"showLine": true,
"showSection": true,
"cameraType": "gs",
"followedX": 50,
"followedZ": 10,
"remark": "测试",
"showHeightWarn": true,
"warnHeight": 300,
"showShadow": true,
"showGroundHeight": false,
"shadowType": "wall",
"model": "model_zhanji",
"speed": 100
}
},
{
"id": "4",
"positions": [
[117.128256, 31.852721, 600],
[117.163191, 31.853176, 600],
[117.181754, 31.854023, 600]
],
"style": { "color": "#ffff00", "width": 3 },
"attr": {
"name": "飞机飞行投影2",
"model": "model_air",
"showGroundHeight": true,
"showLabel": false,
"showLine": true,
"showShadow": true,
"shadowType": "cylinder",
"cameraType": "gs",
"followedX": 50,
"followedZ": 10,
"clockLoop": false
}
},
{
"id": "5",
"positions": [
[116.025851, 30.848967, 1311.6],
[116.098851, 30.833606, 1916.2],
[116.154079, 30.86119, 1693.3],
[116.171732, 30.927008, 1588.6],
[116.142015, 30.980604, 1963.6],
[116.080821, 31.001745, 2078.7],
[116.022691, 30.965067, 1756.5],
[116.016616, 30.904896, 1573.4]
],
"style": { "color": "#ffff00", "width": 3 },
"attr": {
"name": "山区漫游",
"showLabel": false,
"showLine": false,
"showShadow": false,
"showHeightWarn": false,
"warnHeight": 500,
"cameraType": "dy",
"followedX": 50,
"followedZ": 10,
"speed": 300
}
},
{
"id": "6",
"positions": [
[106.714474, 26.838533, 1303.3],
[106.714448, 26.839618, 1309.4],
[106.714389, 26.840687, 1310.8],
[106.714685, 26.842783, 1295],
[106.715975, 26.846232, 1279.7],
[106.718505, 26.852513, 1278.6]
],
"style": { "color": "#ffff00", "width": 3 },
"attr": {
"name": "园区漫游",
"point": "point",
"showLabel": false,
"showLine": false,
"showShadow": false,
"showHeightWarn": false,
"warnHeight": 500,
"cameraType": "dy",
"followedX": 200,
"followedZ": 50
}
},
{
"id": "7",
"name": "卫星轨道",
"positions": [
[122.167639, 47.692783, 100000],
[110.846366, 36.040396, 100000],
[102.61946, 23.716881, 100000]
],
"style": { "color": "#ffff00", "width": 3 },
"attr": {
"name": "卫星轨道",
"point": "model_weixin",
"showLabel": false,
"showLine": true,
"showShadow": false,
"showHeightWarn": false,
"warnHeight": 500,
"cameraType": "gs",
"followedX": 50,
"followedZ": 10,
"clockLoop": true,
"model": "model_weixin",
"speed": 2000
}
}
]

File diff suppressed because it is too large Load Diff

1744
public/config/nfz.json Normal file

File diff suppressed because it is too large Load Diff