maxiaoxiao 10 месяцев назад
Родитель
Сommit
df1a48151f
1 измененных файлов с 1 добавлено и 1 удалено
  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),