From 3e9cd0d3d92e18de9ec1a33da835e2e9787cbd93 Mon Sep 17 00:00:00 2001
From: lixuliang <lixuliang_hd@126.com>
Date: 星期三, 24 一月 2024 17:44:26 +0800
Subject: [PATCH] 更新

---
 static/video/video.html                          |    3 ++-
 src/components/sideMenu/layerMenu/layerPanel.vue |   18 ++++++++++++++++++
 src/components/sideMenu/roamPanel/roamPanel.vue  |    2 +-
 3 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/src/components/sideMenu/layerMenu/layerPanel.vue b/src/components/sideMenu/layerMenu/layerPanel.vue
index 014d927..cc072ad 100644
--- a/src/components/sideMenu/layerMenu/layerPanel.vue
+++ b/src/components/sideMenu/layerMenu/layerPanel.vue
@@ -304,6 +304,24 @@
     },
     // 浜岀淮搴曞浘閫夋嫨
     handleEMapClick(result, index) {
+      let p = sgworld.Navigate.getCameraInfo();
+      let pitch ;
+      if (pitch !== -90) {
+        pitch = -90;
+        sgworld.Navigate.flyToPointsInterest({
+          destination: new Cesium.Cartesian3.fromDegrees(
+            p.location.lon,
+            p.location.lat,
+            p.location.height
+          ),
+          orientation: {
+            heading: Cesium.Math.toRadians(0),
+            pitch: Cesium.Math.toRadians(pitch),
+            roll: Cesium.Math.toRadians(0),
+          },
+        });
+      }
+
       // 璁剧疆鐩告満
       if (result.name == "浜岀淮鍦板浘") {
         this.changeLayerView(25000, false);
diff --git a/src/components/sideMenu/roamPanel/roamPanel.vue b/src/components/sideMenu/roamPanel/roamPanel.vue
index 467c46c..1c8ea76 100644
--- a/src/components/sideMenu/roamPanel/roamPanel.vue
+++ b/src/components/sideMenu/roamPanel/roamPanel.vue
@@ -152,7 +152,7 @@
           type: 2,
           title: result.name,
           shade: false,
-          area: ["100%", 'auto'],
+          area: ["100%", '200px'],
           offset: "r",
           skin: "other-class",
           content: SmartEarthRootUrl + "Workers/path/Path.html",
diff --git a/static/video/video.html b/static/video/video.html
index de0a0a3..54930f2 100644
--- a/static/video/video.html
+++ b/static/video/video.html
@@ -88,10 +88,11 @@
                                 res = data.data.url.replace("ws://10.117.5.46:559/", "wss://skyzt.bda.gov.cn:443/")
                             } else if (data.data.url.includes("47")) {
                                 res = data.data.url.replace("ws://10.117.5.47:559/", "wss://skyzt.bda.gov.cn:443/")
-                            } else if (data.data.url.includes("206")) {
+                            } else if (data.data.url.includes("28")) {
                                 res = data.data.url.replace("ws://10.117.5.28:559/", "wss://skyzt.bda.gov.cn:443/")//瑙嗛鏈�鏂拌繑鍥炲湴鍧�
                             }
                             realplay(res);
+
                         } catch (e) { }
                     }
                 });

--
Gitblit v1.9.3