AW-6046 Angular improvement
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Directive, ViewContainerRef,TemplateRef,OnInit,Input, OnChanges } from '@angular/core';
|
||||
import { Directive, Input, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
||||
import { MapComponent } from 'ng-openlayers';
|
||||
import { Layer } from 'ol/layer';
|
||||
import { Source } from 'ol/source';
|
||||
import { MapComponent } from 'ng-openlayers';
|
||||
|
||||
@Directive({
|
||||
selector: '[fmMapIfZoomToShow]',
|
||||
@@ -36,7 +36,7 @@ export class ifZoomToShowDirective implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.map$.instance.on('moveend', (e) => {
|
||||
this.map$.instance.on('moveend', () => {
|
||||
this.checkZoom();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user