From 85d6203dd9e7638d2acece88c8e2646650fd894b Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 17 Jan 2022 17:32:24 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/school-web

---
 src/components/map/components/dimension.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/components/map/components/dimension.vue b/src/components/map/components/dimension.vue
index 9c443d4..630f1e1 100644
--- a/src/components/map/components/dimension.vue
+++ b/src/components/map/components/dimension.vue
@@ -270,7 +270,7 @@
                     //             })
                     //         }
                     //     })
-                    // }, 2400)
+                    // }, 1000)
                     that.titlesetLayerFlag = true
 
                     that.viewer.camera.setView({
@@ -290,10 +290,10 @@
                     // 最小
                     that.viewer.scene.screenSpaceCameraController.minimumZoomDistance = 200
                     // 最大
-                    that.viewer.scene.screenSpaceCameraController.maximumZoomDistance = 2400
+                    that.viewer.scene.screenSpaceCameraController.maximumZoomDistance = 1000
 
                     // 设置相机缩小时的速率
-                    // that.viewer.scene.screenSpaceCameraController._minimumZoomRate = 24000
+                    // that.viewer.scene.screenSpaceCameraController._minimumZoomRate = 10000
                     // 设置相机放大时的速率
                     that.viewer.scene.screenSpaceCameraController._maximumZoomRate = 5906376272000
                     // 视角平移
@@ -529,7 +529,7 @@
                 // 最小
                 that.viewer.scene.screenSpaceCameraController.minimumZoomDistance = 200
                 // 最大
-                that.viewer.scene.screenSpaceCameraController.maximumZoomDistance = 2400
+                that.viewer.scene.screenSpaceCameraController.maximumZoomDistance = 1000
                 // 视角旋转
                 that.viewer.scene.screenSpaceCameraController.enableTilt = false
             }
@@ -561,9 +561,9 @@
                     }
                 })
             };
-            if (height > 2400) {
+            if (height > 1000) {
                 that.viewer.camera.setView({
-                    destination: that.DC.Namespace.Cesium.Cartesian3.fromRadians(that.viewer.camera.positionCartographic.longitude, that.viewer.camera.positionCartographic.latitude, 2400),
+                    destination: that.DC.Namespace.Cesium.Cartesian3.fromRadians(that.viewer.camera.positionCartographic.longitude, that.viewer.camera.positionCartographic.latitude, 1000),
                     orientation: {
                         // 指向
                         heading: that.DC.Namespace.Cesium.Math.toRadians(0, 0),

--
Gitblit v1.9.3