forked from MapComplete/MapComplete
Feature(offline): prioritize generating europe
This commit is contained in:
parent
1a3bcbdf98
commit
ed7b5e9632
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class GeneratePmTilesExtracts extends Script {
|
|||
|
||||
private* generateField(z: number, maxzoom?: number): Generator<Promise<void>> {
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue