Handle custom loaders without success/fail

Treat custom loaders without success/fail handling as if the were VOID
This commit is contained in:
mike-000
2021-07-16 20:44:03 +01:00
committed by GitHub
parent e8047f6d08
commit 431beed45f

View File

@@ -983,7 +983,7 @@ class VectorSource extends Source {
}
}
this.loading =
this.loader_ === VOID ? false : this.loadingExtentsCount_ > 0;
this.loader_.length < 4 ? false : this.loadingExtentsCount_ > 0;
}
refresh() {