From 3ecb480a576bb684f029ec655cd29af621d3c155 Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期二, 09 三月 2021 17:03:13 +0800
Subject: [PATCH] 修改已知问题

---
 src/Sgis.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/Sgis.js b/src/Sgis.js
index af7ecb2..f736ba3 100644
--- a/src/Sgis.js
+++ b/src/Sgis.js
@@ -11,6 +11,7 @@
 import DashFlow from '@components/plugin/PathDashFlow'
 import CanvasMarkers from '@components/plugin/CanvasMarkers'
 import FullScreen from '@components/plugin/FullScreen'
+import DownLoad from '@components/plugin/DownLoad'
 
 let map = null
 const L = window.L
@@ -27,9 +28,10 @@
   // CustomPopup.init(L) // 鑷畾涔夊脊鍑烘
   DashFlow.DashFlow(L) // 娴佸姩绾垮浘
   CanvasMarkers.init(L)// 鐢诲竷鍥惧眰
-  // Leaflet鎵╁睍浠g爜
   // 鍏ㄥ睆
   FullScreen.init(L)
+  // 涓嬭浇
+  DownLoad.init(L)
 
   map = L.map(div, MapConfig.mapOptions)
 
@@ -38,6 +40,7 @@
   })
 
   window.map = map
+  window.L = L
   initTileLayersHelper(map)
   return map
 }

--
Gitblit v1.8.0