Files
FarmMapsLib/projects/common-map/src/fm-map/components/zoom-to-show-alert/zoom-to-show-alert.component.ts
Willem Dantuma 321d34870e
Some checks failed
FarmMaps.Develop/FarmMapsLib/pipeline/head There was a failure building this commit
Add zoom to show alert
2021-01-29 11:25:37 +01:00

12 lines
416 B
TypeScript

import { Component, Input } from '@angular/core';
import { layer } from 'ol';
@Component({
selector: 'fm-map-zoom-to-show-alert',
template: '<div *fm-map-ifZoomToShow="layer" class="alert alert-info"><i class="fas fa-search-plus" aria-hidden="true" i18n-title title="Add as layer"></i>&nbsp;<span i18n>Zoom in to show layer</span></div>'
})
export class ZoomToShowAlert {
@Input() layer: layer;
}