From b41db64b0dc4c5fecb40caf788a1a80e7e4e7eb5 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 31 Dec 2021 15:24:15 +0800
Subject: [PATCH] +

---
 src/components/mobilemap/index.vue |   31 +++++++++++++++++++++++++++----
 1 files changed, 27 insertions(+), 4 deletions(-)

diff --git a/src/components/mobilemap/index.vue b/src/components/mobilemap/index.vue
index d5cbc5f..b0d0d2f 100644
--- a/src/components/mobilemap/index.vue
+++ b/src/components/mobilemap/index.vue
@@ -372,9 +372,7 @@
             introduce: e.layer._id,
           }
         );
-      });
-      //移动事件 高亮
-      tileset.on(that.DC.MouseEventType.MOUSE_MOVE, (e) => {
+        //高亮
         silhouetteBlue.selected = [];
 
         if (that.DC.Namespace.Cesium.defined(highlighted.feature)) {
@@ -398,6 +396,31 @@
           );
         }
       });
+      //移动事件
+      // tileset.on(that.DC.MouseEventType.MOUSE_MOVE, (e) => {
+      //   silhouetteBlue.selected = [];
+
+      //   if (that.DC.Namespace.Cesium.defined(highlighted.feature)) {
+      //     highlighted.feature.color = highlighted.originalColor;
+      //     highlighted.feature = undefined;
+      //   }
+
+      //   if (e.feature !== selected.feature) {
+      //     silhouetteBlue.selected = [e.feature];
+
+      //     highlighted.feature = e.feature;
+
+      //     that.DC.Namespace.Cesium.Color.clone(
+      //       e.feature.color,
+      //       highlighted.originalColor
+      //     );
+      //     e.feature.color = that.DC.Namespace.Cesium.Color.fromBytes(
+      //       155,
+      //       255,
+      //       175
+      //     );
+      //   }
+      // });
       tilesetLayer["changesilhouetteBlue"] = () => {
         silhouetteBlue.selected = [];
       };
@@ -526,7 +549,7 @@
             }
           };
           that.dimension == "2.5D"
-            ? doit([116.390060025, 27.95649473, 2000.0])
+            ? doit([116.36618337, 27.95911915, 2000.0])
             : doit([117.08513731, 31.64790556, 600.0]);
         };
         startPoint(1);

--
Gitblit v1.9.3