diff --git a/projects/common-map/src/fm-map/components/zoom-to-show-alert/zoom-to-show-alert.component.ts b/projects/common-map/src/fm-map/components/zoom-to-show-alert/zoom-to-show-alert.component.ts index 5babded..954ad5d 100644 --- a/projects/common-map/src/fm-map/components/zoom-to-show-alert/zoom-to-show-alert.component.ts +++ b/projects/common-map/src/fm-map/components/zoom-to-show-alert/zoom-to-show-alert.component.ts @@ -3,9 +3,13 @@ import { layer } from 'ol'; @Component({ selector: 'fm-map-zoom-to-show-alert', - template: '
 Zoom in to show layer
' + template: '
 Zoom in to show layer
' }) export class ZoomToShowAlert { - @Input() layer: layer; + public layer$: layer; + @Input() + set layer(layer:layer) { + this.layer$ = layer; + } }