From 0e828960b1ffc10f19303316e7e1a10c9117614e Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期四, 14 九月 2023 18:20:43 +0800
Subject: [PATCH] sdk版本更新

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