viewer.scene.screenSpaceCameraController.minimumZoomDistance = 400;//相机的高度的最小值
viewer.scene.screenSpaceCameraController.maximumZoomDistance = 20000000; //相机高度的最大值
viewer.scene.screenSpaceCameraController._minimumZoomRate = 30000; // 设置相机缩小时的速率
viewer.scene.screenSpaceCameraController._maximumZoomRate = 5906376272000 //设置相机放大时的速率
cesium限制相机缩放
最新推荐文章于 2024-10-14 16:51:02 发布