Aw4751 eslint fixes
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:
@@ -43,9 +43,9 @@ export class ifZoomToShowDirective implements OnInit {
|
||||
|
||||
checkZoom() {
|
||||
if(this.layer$ && this.map$.instance) {
|
||||
let minZoom = this.layer$.getMinZoom();
|
||||
let currentZoom = this.map$.instance.getView().getZoom();
|
||||
let view = currentZoom < minZoom;
|
||||
const minZoom = this.layer$.getMinZoom();
|
||||
const currentZoom = this.map$.instance.getView().getZoom();
|
||||
const view = currentZoom < minZoom;
|
||||
if(view!= this.showView) {
|
||||
this.viewContainerRef$.clear();
|
||||
this.showView=view;
|
||||
|
Reference in New Issue
Block a user