Closed DailisLangovskis closed 3 years ago
It happens even when trying to create a new drawing layer.
On current develop and without an error I was able to :
It happens when you are not logged in, open draw panel, click on New drawing layer, Login from the dialog and try to create new layer. It crashes on this line as this.selectedLayer is null https://github.com/hslayers/hslayers-ng/blob/c91cae1e30ddd23c64dedef4645969a541f96380/projects/hslayers/src/components/draw/draw.service.ts#L410
When loading layer from layman inside the draw toolbar!