Scripts(offline): debugging

This commit is contained in:
Pieter Vander Vennet 2025-07-31 01:19:45 +02:00
parent fba456ce11
commit c4b1eb15b9

View file

@ -37,7 +37,7 @@ class GeneratePmTilesExtracts extends Script {
}
private* generateField(z: number, maxzoom?: number): Generator<Promise<void>> {
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)