forked from MapComplete/MapComplete
		
	Scripts(offline): debugging
This commit is contained in:
		
							parent
							
								
									fba456ce11
								
							
						
					
					
						commit
						c4b1eb15b9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -37,7 +37,7 @@ class GeneratePmTilesExtracts extends Script {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private* generateField(z: number, maxzoom?: number): Generator<Promise<void>> {
 | 
					    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 x = 0; x < boundary; x++) {
 | 
				
			||||||
            for (let y = 0; y < boundary; y++) {
 | 
					            for (let y = 0; y < boundary; y++) {
 | 
				
			||||||
                yield this.generateArchive(z, x, y, maxzoom)
 | 
					                yield this.generateArchive(z, x, y, maxzoom)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue