首页 / 浏览问题 / 三维GIS / 问题详情
cesium webgis开发,如何根据输入的地理坐标位置,准确定位三维场景位置
32EXP 2022年08月01日
cesium webgis开发,如何根据输入的地理坐标位置,准确定位三维场景位置

1个回答

您好,您可以通过设置scene.camera.setView的方式来实现视口跳转,

参考该demo的100到108行:http://support.supermap.com.cn:8090/webgl/examples/webgl/editor.html#S3MTiles_suofeiya

或者也可以设置viewer.camera.flyTo来实现视口飞行跳转,

参考该demo的104到111行:http://support.supermap.com.cn:8090/webgl/examples/webgl/editor.html#backLineAnalysis

希望可以帮助到您。

9,633EXP 2022年08月02日
...