派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-04-22 509cc4618a091a03d64d9985c0f1b74afd0fd3ff
src/Sgis.js
@@ -1,6 +1,4 @@
// 初始化显示
import MapConfig from '@/conf/MapConfig'
import '@components/plugin/PathDashFlow' // 流动线图
import DownLoad from '@components/plugin/DownLoad'
@@ -18,6 +16,10 @@
import '@components/plugin/pulse/Pulse.css' // marker 外圈波 css
import BasemapHelper from '@components/helpers/BasemapHelper'
import VectorLayerHelper from '@components/helpers/VectorLayerHelper'
// import eventBus from '@/eventBus'
import eventBus from './eventBus'
let map = null
const L = window.L
const initMap = (div, mapOption) => {
@@ -32,6 +34,8 @@
    console.log(event, a, b)
  })
  eventBus.$emit('map-obj', map)
  window.map = map
  window.L = L