From bf35d6b5a12bf713af95b43be7953b4794610170 Mon Sep 17 00:00:00 2001
From: WX <1377869194@qq.com>
Date: 星期五, 15 九月 2023 15:47:18 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.20.92:8888/r/PM20230220027_Web

---
 src/assets/js/Map/index.js |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/assets/js/Map/index.js b/src/assets/js/Map/index.js
index 02c15dc..48f0f30 100644
--- a/src/assets/js/Map/index.js
+++ b/src/assets/js/Map/index.js
@@ -49,6 +49,17 @@
     sgworld.Navigate.Stop(); //鍙栨秷椋炶鐘舵��
     sgworld.Navigate.setPosition(-1093596.38, 5729026.12, 4136590.41);
   },
+  showlonlatLine() {
+
+    window.graticules = new SmartEarth.Cesium.Graticules(
+      earthCtrl.Viewer,
+      SmartEarth.Cesium.Color.PALEGREEN
+    );
+    // graticules.makeCoordAxiss();
+    earthCtrl.Viewer.scene.preUpdate.addEventListener(function () {
+      graticules.update();
+    });
+  },
   //榧犳爣宸﹂敭鐐瑰嚮浜嬩欢娣诲姞
   addMouseLeftClickEvents() {
     if (window.handleLeftClick) {

--
Gitblit v1.9.3