From a336097f96b1389afa416efabf593958be3caa5b Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Sat, 7 Feb 2026 10:00:36 +0000 Subject: [PATCH] Fix maths --- frontend/src/lib/map-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/map-utils.ts b/frontend/src/lib/map-utils.ts index b7f60bd..2450f24 100644 --- a/frontend/src/lib/map-utils.ts +++ b/frontend/src/lib/map-utils.ts @@ -87,7 +87,7 @@ export function getBoundsFromViewState( ): Bounds { const { longitude, latitude, zoom } = viewState; const clampedLat = Math.max(-85, Math.min(85, latitude)); - const TILE_SIZE = 256; + const TILE_SIZE = 512; const scale = Math.pow(2, zoom); const worldSize = TILE_SIZE * scale;