| | |
| | | import BasemapHelper from '@components/helpers/BasemapHelper' |
| | | import VectorLayerHelper from '@components/helpers/VectorLayerHelper' |
| | | import ServiceLayerHelper from '@components/helpers/ServiceLayerHelper' |
| | | |
| | | import Editable from '@components/plugin/Editable' |
| | | import PathDrag from '@components/plugin/PathDrag' |
| | | // import MagicMarker from '@components/plugin/MagicMarker' |
| | | // import WmtsSupport from '@components/plugin/wmts_plugins' |
| | | |
| | | import MapConfig from '@/conf/MapConfig' |
| | | import '@components/plugin/PathDashFlow' // 流动线图 |
| | | // import CanvasMarkers from '@components/plugin/CanvasMarkers' |
| | |
| | | import 'leaflet.markercluster' |
| | | // import 'leaflet-canvas-markers' |
| | | import './components/plugin/Leaflet.GridLayer.FadeOut' // 瓦片图层切换淡入淡出 |
| | | |
| | | import './components/plugin/leaflet-canvas-markers' // 画布marker |
| | | import './components/plugin/Editable' // 标绘操作 |
| | | |
| | | let map = null |
| | | const L = window.L |
| | | const initMap = (div) => { |
| | |
| | | } |
| | | |
| | | // Leaflet扩展代码 |
| | | Editable.init(L) // 图层编辑 |
| | | // Editable.init(L) // 图层编辑 |
| | | PathDrag.init(L) // 路径拖拽 |
| | | // MagicMarker.init(L) // 动画Marker |
| | | // WmtsSupport.init(L) // 扩展,使支持WMTS |