From 934e9d7a796c1eccb04a8b07e939d8bbe0ca708a Mon Sep 17 00:00:00 2001 From: YANGDL <114714267@qq.com> Date: 星期二, 09 三月 2021 15:15:51 +0800 Subject: [PATCH] 修复ie下不能显示的问题 --- src/Sgis.js | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/Sgis.js b/src/Sgis.js index 6ae1b0a..af7ecb2 100644 --- a/src/Sgis.js +++ b/src/Sgis.js @@ -9,6 +9,9 @@ import MapConfig from '@/conf/MapConfig' import DashFlow from '@components/plugin/PathDashFlow' +import CanvasMarkers from '@components/plugin/CanvasMarkers' +import FullScreen from '@components/plugin/FullScreen' + let map = null const L = window.L const initMap = (div) => { @@ -23,7 +26,10 @@ WmtsSupport.init(L) // 鎵╁睍锛屼娇鏀寔WMTS // CustomPopup.init(L) // 鑷畾涔夊脊鍑烘 DashFlow.DashFlow(L) // 娴佸姩绾垮浘 + CanvasMarkers.init(L)// 鐢诲竷鍥惧眰 // Leaflet鎵╁睍浠g爜 + // 鍏ㄥ睆 + FullScreen.init(L) map = L.map(div, MapConfig.mapOptions) -- Gitblit v1.8.0