加载超图S3M数据

This commit is contained in:
jiawanlong 2025-05-10 19:30:00 +08:00
parent f669039611
commit bda2a7f762
12 changed files with 102 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -100,6 +100,12 @@ var exampleConfig = {
thumbnail: "实时在线云图.jpg",
fileName: "实时在线云图"
},
{
name: "加载超图S3M模型",
name_en: "加载超图S3M模型",
thumbnail: "s3m.jpg",
fileName: "s3m"
},
// {
// name: "韩国空难",
// name_en: "韩国空难",
@ -304,6 +310,12 @@ var exampleConfig = {
thumbnail: "1.22、根据点获取高度.jpg",
fileName: "1.22、根据点获取高度"
},
{
name: "加载超图S3M模型",
name_en: "加载超图S3M模型",
thumbnail: "s3m.jpg",
fileName: "s3m"
},
// {
// name: "相机",
@ -647,6 +659,7 @@ var exampleConfig = {
thumbnail: "2.4.8、风力发电机.jpg",
fileName: "2.4.8、风力发电机"
},
]
},
}
@ -701,6 +714,12 @@ var exampleConfig = {
thumbnail: "3.1.7、模型压平.jpg",
fileName: "3.1.7、模型压平"
},
{
name: "加载超图S3M模型",
name_en: "加载超图S3M模型",
thumbnail: "s3m.jpg",
fileName: "s3m"
},
]
},
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

@ -0,0 +1,32 @@
<!--********************************************************************
* by jiawanlong
*********************************************************************-->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="./../../libs/cesium/Cesium1.98/Widgets/widgets.css">
<script type="text/javascript" src="./../../libs/cesium/Cesium1.98/Cesium.js"></script>
<script src="./SuperMap3D/SuperMap3D.js"></script>
</head>
<body style="margin: 0; overflow: hidden; background: #fff; width: 100%; height: 100%; position: absolute; top: 0">
<div id="map" style="margin: 0 auto; width: 100%; height: 100%"></div>
<script type="text/javascript">
Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJjM2EzNGJmNy02N2RmLTQ0MDMtYjI2MS1hZTJiMTIwZGYwMTYiLCJpZCI6MzA0MzEyLCJpYXQiOjE3NDc3MjM3MTV9.ePQNhuoVuDsi_z00lTm5W26wyW1Adcr1AWetGM6WSXI'
const viewer = new Cesium.Viewer('map', { });
let scenes = [
// 'http://www.supermapol.com/realspace/services/3D-suofeiya_church/rest/realspace',
'https://www.supermapol.com/realspace/services/3D-CBD/rest/realspace',
// 'https://www.supermapol.com/realspace/services/3D-CQmodel_wireframe_2000/rest/realspace',
// 'https://www.supermapol.com/realspace/services/3D-cloud/rest/realspace'
];
viewer.scene.open(scenes[0]);
</script>
</body>
</html>