maxx0329 4 일 전
부모
커밋
7132debe02
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/farmlandProtection/components/fxjg.vue

+ 2 - 2
src/views/farmlandProtection/components/fxjg.vue

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