From c4b1eb15b97bdc253cea5042a05aa7d4f84341e8 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 31 Jul 2025 01:19:45 +0200 Subject: [PATCH] Scripts(offline): debugging --- scripts/generatePmTilesExtracts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generatePmTilesExtracts.ts b/scripts/generatePmTilesExtracts.ts index d72b96ae7a..152ce0f1c5 100644 --- a/scripts/generatePmTilesExtracts.ts +++ b/scripts/generatePmTilesExtracts.ts @@ -37,7 +37,7 @@ class GeneratePmTilesExtracts extends Script { } private* generateField(z: number, maxzoom?: number): Generator> { - const boundary = 2 << z + const boundary = 2 << (z - 1) for (let x = 0; x < boundary; x++) { for (let y = 0; y < boundary; y++) { yield this.generateArchive(z, x, y, maxzoom)