| | |
| | | var childLayer = config.childLayer |
| | | var checked = config.checked |
| | | /* if (config.groupName) { |
| | | const wmsGroupLayerService = new WmsGroupLayerService(config) |
| | | const wmsGroupLayerService = new WmsLayerGroupService(config) |
| | | wmsGroupLayerService.init() |
| | | continue |
| | | } */ |
| | |
| | | point = lineString[parseInt(lineString.length / 2)][0] |
| | | break |
| | | } |
| | | console.log(point) |
| | | window.map.flyTo(point.reverse(), 17) |
| | | if (point.length > 2) { |
| | | point.splice(2, 1) |
| | | } |
| | | window.map.setView(point.reverse(), 17) |
| | | code && this.openPopup(code, feature.id) |
| | | } |
| | | |