Open quater23 opened 2 months ago
能加载:
不能加载:
加载代码:
// let url = "https://www.supermapol.com/realspace/services/3D-0523/rest/realspace/datas/Building_NoCBD_5huan_WebGL/config"; let url = "./data/CBD/cbd.scp"; let promise = scene.addS3MTilesLayerByScp(url, { name: "cbd" }); promise.then((layer) => { layer.readyPromise.promise.then(() => { scene.camera.setView({ destination: layer.rectangle, }); const _position = layer._position; viewer.scene.primitives.add(new Cesium.DebugModelMatrixPrimitive({ modelMatrix: Cesium.Transforms.eastNorthUpToFixedFrame(_position), // primitive to debug length: 1000.0, width: 4.0 })); }); }); ` 请问这是为什么?在线地址也是请求的 .scp文件
上面发的在线地址是IServer发出来的,IServer对s3m内部的文件索引做了改动,所以你用其他服务器发的scp服务SDK是加载不了的
能加载:
不能加载:
加载代码: