TILE_ZOOM_LEVEL = 2

This commit is contained in:
HF 2022-06-27 12:47:06 +02:00
parent ae927972ae
commit c8409c6e5f
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ export const THREE_TILE_SIZE = 32;
// 2D tile size
export const TILE_SIZE = 256;
// how much to scale for a new tiled zoomlevel
export const TILE_ZOOM_LEVEL = 4;
export const TILE_ZOOM_LEVEL = 2;
export const COOKIE_SESSION_NAME = 'pixelplanet.session';

View File

@ -161,7 +161,7 @@ class CanvasUpdater {
}
for (let c = 0; c < this.maxTiledZoom; c += 1) {
this.TileLoadingQueues.push([]);
const timeout = (8 ** (this.maxTiledZoom - c - 1)) * 5 * 1000;
const timeout = (7 ** (this.maxTiledZoom - c - 1)) * 5 * 1000;
logger.info(
`Tiling: Set interval for zoomlevel ${c} update to ${timeout / 1000}`,
);