TILE_ZOOM_LEVEL = 2
This commit is contained in:
parent
ae927972ae
commit
c8409c6e5f
|
@ -69,7 +69,7 @@ export const THREE_TILE_SIZE = 32;
|
||||||
// 2D tile size
|
// 2D tile size
|
||||||
export const TILE_SIZE = 256;
|
export const TILE_SIZE = 256;
|
||||||
// how much to scale for a new tiled zoomlevel
|
// 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';
|
export const COOKIE_SESSION_NAME = 'pixelplanet.session';
|
||||||
|
|
||||||
|
|
|
@ -161,7 +161,7 @@ class CanvasUpdater {
|
||||||
}
|
}
|
||||||
for (let c = 0; c < this.maxTiledZoom; c += 1) {
|
for (let c = 0; c < this.maxTiledZoom; c += 1) {
|
||||||
this.TileLoadingQueues.push([]);
|
this.TileLoadingQueues.push([]);
|
||||||
const timeout = (8 ** (this.maxTiledZoom - c - 1)) * 5 * 1000;
|
const timeout = (7 ** (this.maxTiledZoom - c - 1)) * 5 * 1000;
|
||||||
logger.info(
|
logger.info(
|
||||||
`Tiling: Set interval for zoomlevel ${c} update to ${timeout / 1000}`,
|
`Tiling: Set interval for zoomlevel ${c} update to ${timeout / 1000}`,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user