From c1514cfc69b679d05398bb1def6b24c772426aa0 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期二, 14 二月 2023 09:11:46 +0800
Subject: [PATCH] 综合展示图层管理图标切换

---
 src/components/mapsdk.vue |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/src/components/mapsdk.vue b/src/components/mapsdk.vue
index d498c48..4646ed1 100644
--- a/src/components/mapsdk.vue
+++ b/src/components/mapsdk.vue
@@ -294,14 +294,18 @@
       window.Viewer = window.sgworld._Viewer
       Viewer.imageryLayers._layers[0].show = false
       //瀹氫綅
-      sgworld.Navigate.jumpTo({
-        //璺宠浆瑙嗚
-        destination: new Cesium.Cartesian3.fromDegrees(
-          116.3911,
-          39.9115,
-          100000
-        ),
-      })
+      // sgworld.Navigate.jumpTo({
+      //   //璺宠浆瑙嗚
+      //   destination: new Cesium.Cartesian3.fromDegrees(
+      //     116.3911,
+      //     39.9115,
+      //     100000
+      //   ),
+      // })
+        Viewer.camera.flyTo({
+        destination: Cesium.Cartesian3.fromDegrees(110, 33, 8000000),
+
+      });
       Viewer.imageryLayers.addImageryProvider(
         new Cesium.UrlTemplateImageryProvider({
           url: gaoDeBaseUrl[0].url,

--
Gitblit v1.9.3