diff --git a/projects/common-map/src/fm-map/components/aol/item-layers/item-layers.component.ts b/projects/common-map/src/fm-map/components/aol/item-layers/item-layers.component.ts index 89aee79..c80b682 100644 --- a/projects/common-map/src/fm-map/components/aol/item-layers/item-layers.component.ts +++ b/projects/common-map/src/fm-map/components/aol/item-layers/item-layers.component.ts @@ -438,5 +438,6 @@ export class ItemLayersComponent extends LayerGroupComponent implements OnChange ngOnDestroy() { this.unInstallMapEventHandler(); + this.map.instance.removeLayer(this.instance); } }