src/Sgis.js
@@ -11,7 +11,10 @@ import DashFlow from '@components/plugin/PathDashFlow' import CanvasMarkers from '@components/plugin/CanvasMarkers' import FullScreen from '@components/plugin/FullScreen' // 下载 import DownLoad from '@components/plugin/DownLoad' // 测量 import LeafletMeasurePath from '@components/plugin/leaflet-measure-path/leaflet-measure-path' let map = null const L = window.L @@ -32,6 +35,7 @@ FullScreen.init(L) // 下载 DownLoad.init(L) LeafletMeasurePath.init(L) map = L.map(div, MapConfig.mapOptions)