From ed7b5e96320e200528299123ea1d360d91f8df2a Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 31 Jul 2025 13:49:12 +0200 Subject: [PATCH] Feature(offline): prioritize generating europe --- scripts/generatePmTilesExtracts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generatePmTilesExtracts.ts b/scripts/generatePmTilesExtracts.ts index 3f9d2a8df7..33c5f1986c 100644 --- a/scripts/generatePmTilesExtracts.ts +++ b/scripts/generatePmTilesExtracts.ts @@ -55,7 +55,7 @@ class GeneratePmTilesExtracts extends Script { private* generateField(z: number, maxzoom?: number): Generator> { const boundary = 2 << (z - 1) - for (let x = 0; x < boundary / 2; x++) { + for (let x = boundary / 2; x < boundary; x++) { // We first generate starting from the meridian, as this will prioritize Europe, where the dev is based for (const promise of this.generateColumnIfNeeded(z, x, boundary, maxzoom)) { yield promise