We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8142a2d commit 7b1d31aCopy full SHA for 7b1d31a
src/base/TilesRendererBase.js
@@ -140,6 +140,7 @@ export class TilesRendererBase {
140
this.downloadQueue = downloadQueue;
141
this.parseQueue = parseQueue;
142
this.stats = {
143
+ inCache: 0,
144
parsing: 0,
145
downloading: 0,
146
failed: 0,
@@ -655,6 +656,7 @@ export class TilesRendererBase {
655
656
}
657
658
// Decrement stats
659
+ stats.inCache --;
660
if ( t.__loadingState === LOADING ) {
661
662
stats.downloading --;
@@ -687,6 +689,7 @@ export class TilesRendererBase {
687
689
const controller = new AbortController();
688
690
const signal = controller.signal;
691
692
+ stats.inCache ++;
693
stats.downloading ++;
694
tile.__loadAbort = controller;
695
tile.__loadingState = LOADING;
0 commit comments