您好,
可通过 Web 控制台输出信息并查看。
(1)获取当前相机位置:
console.log(viewer.camera.position);
(2)获取heading、pitch、roll等参数值:
console.log(viewer.camera.heading); console.log(viewer.camera.pitch); console.log(viewer.camera.roll);
希望可以帮助到您!