From 25ce610f6ecca7325e7a743dc032c4a76559c63d Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 02 Jul 2021 09:10:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/pyhmap

---
 widgets/FlyRoute/fly.js |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/widgets/FlyRoute/fly.js b/widgets/FlyRoute/fly.js
index 94f9d1f..5b5fcf2 100644
--- a/widgets/FlyRoute/fly.js
+++ b/widgets/FlyRoute/fly.js
@@ -308,7 +308,14 @@
             p = that.allSites[l + 1].pitch - that.allSites[l].pitch;
             h = that.allSites[l + 1].heading - that.allSites[l].heading;
 
+
+
+
+
             var tem = Cesium.Math.toDegrees(that.allSites[l + 1].heading) - Cesium.Math.toDegrees(that.allSites[l].heading);
+
+
+
             if (Math.abs(tem) > 180) {
                 if (tem >= 0) {
                     tem = 360 - tem;
@@ -317,8 +324,13 @@
                 }
                 h = Cesium.Math.toRadians(tem);
             }
+
+
             //that.b=that.allSites[l].time*20
             that.setInterval_fly = setInterval(that.setcamera, 20);
+
+
+            
         } else {
             that.play_bool = true;
             that.l = 0;

--
Gitblit v1.9.3