Merge remote-tracking branch 'origin/develop' into develop
| | |
| | | |
| | | clickListener () { |
| | | window.map.on('click', (e) => { |
| | | if (!window.layerFactory.clickSwitch) { |
| | | return |
| | | } |
| | | this.featureGroup.clearLayers() |
| | | var point = this.map.latLngToContainerPoint(e.latlng, this.map.getZoom()) |
| | | var size = this.map.getSize() |
| | |
| | | autoClose: false |
| | | }) |
| | | .openPopup() */ |
| | | |
| | | if (window.layerFactory.clickSwitch) { |
| | | window.$layer.open({ |
| | | content: { |
| | | content: Popup, // 组件 |
| | |
| | | }, |
| | | title: '' // 标题 |
| | | }) |
| | | } |
| | | // this.popupComp.setDatas(popupDatas) |
| | | // this.popupComp.setShow() |
| | | } |