diff --git a/projects/common-map/src/fm-map/components/layer-switcher/layer-switcher.component.ts b/projects/common-map/src/fm-map/components/layer-switcher/layer-switcher.component.ts index 484fc80..67ca0b0 100644 --- a/projects/common-map/src/fm-map/components/layer-switcher/layer-switcher.component.ts +++ b/projects/common-map/src/fm-map/components/layer-switcher/layer-switcher.component.ts @@ -36,10 +36,12 @@ export class LayerSwitcher implements OnInit,OnChanges{ handleClick(event:Event) { + event.stopPropagation(); this.store.dispatch(new mapActions.ShowLayerSwitcher(true)); } close(event:Event) { + event.stopPropagation(); this.store.dispatch(new mapActions.ShowLayerSwitcher(false)); }