updateCacheSize(tileCount, projection) {
    const tileCache = this.getTileCacheForProjection(projection);
    if (tileCount > tileCache.highWaterMark) {
      tileCache.highWaterMark = tileCount;
    }
  }
/**
   * Increases the cache size if needed
   * @param {number} tileCount Minimum number of tiles needed.
   * @param {import("../proj/Projection.js").default} projection Projection.
   */
Increases the cache size if needed
@param {number} tileCount Minimum number of tiles needed.
Increases the cache size if needed @param { number } tileCount Minimum number of tiles needed .
updateCacheSize(tileCount, projection) {
    const tileCache = this.getTileCacheForProjection(projection);
    if (tileCount > tileCache.highWaterMark) {
      tileCache.highWaterMark = tileCount;
    }
  }
updateCacheSize ( tileCount , projection ) { const tileCache = this . getTileCacheForProjection ( projection ) ; if ( tileCount > tileCache . highWaterMark ) { tileCache . highWaterMark = tileCount ; } }
Increases the cache size if needed
 @param {number} tileCount Minimum number of tiles needed.
Increases the cache size if needed @param { number } tileCount Minimum number of tiles needed .