-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
使用非编译代码包集成 cesium 之后出现这种情况:
远距离视图:
近距离视图:
使用的代码为 :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 中加载的也是高德的瓦片地图,但是模型加载后会出现一定的偏移。例如:
目前这个问题对我们的开发进度影响较大,盼回复!
感谢~
Metadata
Metadata
Assignees
Labels
No labels