1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| 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
|
|