diff --git a/src/app/menupanel/custompanel/custompanel.component.ts b/src/app/menupanel/custompanel/custompanel.component.ts index 1e0c47b5..9904a297 100644 --- a/src/app/menupanel/custompanel/custompanel.component.ts +++ b/src/app/menupanel/custompanel/custompanel.component.ts @@ -256,7 +256,6 @@ export class CustomPanelComponent { for (const layerRec of layerRecs) { // Make the layer group listing visible in the UI this.urlLayers.unshift(layerRec); - // Configure layers so they can be added to map const uiLayerModel = new UILayerModel(layerRec.id, 100, this.renderStatusService.getStatusBSubject(layerRec)); this.uiLayerModelService.setUILayerModel(layerRec.id, uiLayerModel); diff --git a/src/app/services/ui/uilayer-model.service.ts b/src/app/services/ui/uilayer-model.service.ts index 817c514a..17a6c195 100644 --- a/src/app/services/ui/uilayer-model.service.ts +++ b/src/app/services/ui/uilayer-model.service.ts @@ -21,7 +21,7 @@ export class UILayerModelService { public removeUILayerModel(layerId: string) { this.uiLayerModels.delete(layerId); } - + /** * Check whether layer has been added to the map *