remove layer when destroyed
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good Details

2022.01
Willem Dantuma 2021-01-26 14:38:40 +01:00
parent 878944b056
commit 431cc78c19
1 changed files with 1 additions and 0 deletions

View File

@ -438,5 +438,6 @@ export class ItemLayersComponent extends LayerGroupComponent implements OnChange
ngOnDestroy() {
this.unInstallMapEventHandler();
this.map.instance.removeLayer(this.instance);
}
}