forked from MapComplete/MapComplete
Fix bounds and loading with overpass
This commit is contained in:
parent
3157c35c62
commit
178cefceb4
7 changed files with 78 additions and 103 deletions
|
@ -15,7 +15,7 @@ export class Tiles {
|
|||
public static MapRange<T>(tileRange: TileRange, f: (x: number, y: number) => T): T[] {
|
||||
const result: T[] = []
|
||||
const total = tileRange.total
|
||||
if(total > 5000){
|
||||
if(total > 100000){
|
||||
throw "Tilerange too big"
|
||||
}
|
||||
for (let x = tileRange.xstart; x <= tileRange.xend; x++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue