maxiaoxiao 10 miesięcy temu
rodzic
commit
df1a48151f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/siteselection/components/xzjg.vue

+ 1 - 1
src/views/siteselection/components/xzjg.vue

@@ -301,7 +301,7 @@ export default {
               }
             });
           }
-          var pitch = height ? -0.8 : 45; // Cesium.Math.toRadians(-45.0);-0.7853981633974483
+          var pitch = height ? -0.8 : -45; // Cesium.Math.toRadians(-45.0);-0.7853981633974483
           let range = height ? 3000 : 5000;
           viewer.flyTo(data, {
             offset: new Cesium.HeadingPitchRange(0, pitch, range),