maxx0329 2 天之前
父節點
當前提交
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) {