Merge pull request #12527 from mike-000/patch-1

Treat custom loaders without success/fail handling as if they were a void loader
This commit is contained in:
Andreas Hocevar
2021-07-22 12:39:21 +02:00
committed by GitHub
2 changed files with 8 additions and 1 deletions

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() {