class MapManager { constructor () { this.hightlightLayer = window.L.featureGroup({}).addTo(window.map) this.clickDialogSwitch = true // 图层点击弹窗开关 this.L = window.L this.map = window.map } mapClickListener () { window.map.on('click', (e) => { }) } clearHighlight () { this.hightlightLayer.clearLayers() } iconPoint (latlng) { } } export default MapManager