This commit is contained in:
Pieter Vander Vennet 2024-07-08 15:48:00 +02:00
parent 78859ec699
commit bde5a7b810

View file

@ -49,7 +49,7 @@ class GenerateSummaryTileCache extends Script {
} else {
const parts = [
await this.fetchTileRecursive(z + 1, x * 2, y * 2, layersSummed),
await this.fetchTileRecursive(z + 1, x * 2 + 1, y * 2, layersSummeawait d),
await this.fetchTileRecursive(z + 1, x * 2 + 1, y * 2, layersSummed),
await this.fetchTileRecursive(z + 1, x * 2, y * 2 + 1, layersSummed),
await this.fetchTileRecursive(z + 1, x * 2 + 1, y * 2 + 1, layersSummed)]
const sum = this.sumTotals(parts.map(f => f.properties))