使用非编译代码包集成 cesium 之后出现这种情况: 远距离视图: <img width="1328" height="434" alt="Image" src="https://github.com/user-attachments/assets/a91082b6-b2e3-4157-b1fa-2501e6f487f6" /> 近距离视图: <img width="2082" height="1066" alt="Image" src="https://github.com/user-attachments/assets/98c3899f-4e4d-4676-a9cd-722124005a8a" /> 使用的代码为 :https://github.com/SuperMap/s3m-spec/tree/master/S3M_SDK/S3M_JS/S3M_module cesium 版本:1.134.1 部分模型加载代码: ``` const scene = this.viewer!.scene const modelLayer = new S3MTilesLayer({ context: (scene as any)._context, url, }) const modelPrimitive = scene.primitives.add(modelLayer) ``` 其中 url 是部署在资源服务器中的 scp 文件地址。 这种方式可以正常加载模型和显示,但是放大后即会出现问题。 该模型文件在桌面端绑定的坐标系是高德地图坐标系,同时 cesium 中加载的也是高德的瓦片地图,但是模型加载后会出现一定的偏移。例如: <img width="2666" height="1428" alt="Image" src="https://github.com/user-attachments/assets/11349fa0-438b-40b6-96cb-94e92e7d309e" /> 目前这个问题对我们的开发进度影响较大,盼回复! 感谢~
Activity
heqianhq commentedon Feb 5, 2026
收到,我们排查下问题