From c6890ef64bdac46759ebba6c37f94dd0f8d4ed90 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 02 Jul 2021 09:07:33 +0800
Subject: [PATCH] 部分样式更改,部分逻辑修改完善,飞行路线得添加等

---
 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