From b6c363cdc1ea55dbfc1dfdb6a7c27c8fc51fa0e2 Mon Sep 17 00:00:00 2001
From: chenyabin <Chenab123!>
Date: 星期五, 02 四月 2021 16:13:38 +0800
Subject: [PATCH] 右侧搜索栏统一修改标题。
---
src/Sgis.js | 25 ++++---------------------
1 files changed, 4 insertions(+), 21 deletions(-)
diff --git a/src/Sgis.js b/src/Sgis.js
index f908709..6626200 100644
--- a/src/Sgis.js
+++ b/src/Sgis.js
@@ -16,13 +16,9 @@
import './components/plugin/Editable' // 鏍囩粯鎿嶄綔
import './components/plugin/MagicMarker' // 鍔ㄧ敾Marker
import './assets/css/map/magic.min.css' // 鍔ㄧ敾Marker css
-import './components/BaseNav/Pulse'
-import './components/BaseNav/Pulse.css'
-
-// import WmtsSupport from '@components/plugin/wmts_plugins'
-// import CanvasMarkers from '@components/plugin/CanvasMarkers'
-// import FullScreen from '@components/plugin/FullScreen'
-// import 'leaflet-canvas-markers'
+import '@/components/plugin/magicMarker.css'
+import '@components/plugin/pulse/Pulse' // marker 澶栧湀娉�
+import '@components/plugin/pulse/Pulse.css' // marker 澶栧湀娉� css
let map = null
const L = window.L
@@ -30,18 +26,6 @@
if (map != null) {
map.remove()
}
-
- // Leaflet鎵╁睍浠g爜
- // Editable.init(L) // 鍥惧眰缂栬緫
- // PathDrag.init(L) // 璺緞鎷栨嫿
- // MagicMarker.init(L) // 鍔ㄧ敾Marker
- // WmtsSupport.init(L) // 鎵╁睍锛屼娇鏀寔WMTS
- // CustomPopup.init(L) // 鑷畾涔夊脊鍑烘
- // CanvasMarkers.init(L)// 鐢诲竷鍥惧眰
- // 鍏ㄥ睆
- // FullScreen.init(L)
- // 涓嬭浇
- // LeafletMeasurePath.init(L)
DownLoad.init(L)
map = L.map(div, MapConfig.mapOptions)
@@ -52,8 +36,6 @@
window.map = map
window.L = L
-
- // L.sgis = L.sgis || L
initTileLayersHelper(map)
@@ -67,6 +49,7 @@
*/
const initBasemapsHelper = (map) => {
// todo 杩欓噷杩涜搴曞浘鍦板浘鐨勫垵濮嬪寲
+ console.log(map)
return new BasemapHelper({ map })
}
/**
--
Gitblit v1.8.0