diff --git a/projects/common-map/src/fm-map/reducers/map.reducer.ts b/projects/common-map/src/fm-map/reducers/map.reducer.ts index 68b6404..57d4914 100644 --- a/projects/common-map/src/fm-map/reducers/map.reducer.ts +++ b/projects/common-map/src/fm-map/reducers/map.reducer.ts @@ -316,7 +316,6 @@ export function reducer(state = initialState, action: mapActions.Actions | commo let itemLayers = state.overlayLayers.slice(0); let itemLayer = new ItemLayer(a.item); itemLayer.layerIndex = a.layerIndex == -1 ? 0 : a.layerIndex; - itemLayers = itemLayers.filter(item => item.layerIndex !== itemLayer.layerIndex); itemLayers.push(itemLayer); return tassign(state, { overlayLayers: itemLayers, selectedOverlayLayer: itemLayer }); }