forked from MapComplete/MapComplete
Merge develop
This commit is contained in:
commit
8fdb7a6d7f
22 changed files with 536 additions and 141 deletions
|
@ -2,9 +2,7 @@ import {Utils} from "../Utils";
|
|||
|
||||
export default class Constants {
|
||||
|
||||
public static vNumber = "0.11.0-alpha-1";
|
||||
|
||||
|
||||
public static vNumber = "0.11.0-alpha-2";
|
||||
public static ImgurApiKey = '7070e7167f0a25a'
|
||||
public static readonly mapillary_client_token_v3 = 'TXhLaWthQ1d4RUg0czVxaTVoRjFJZzowNDczNjUzNmIyNTQyYzI2'
|
||||
public static readonly mapillary_client_token_v4 = "MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85"
|
||||
|
|
|
@ -90,7 +90,7 @@ export default class LayoutConfig {
|
|||
throw "Widenfactor too small"
|
||||
}else{
|
||||
// Unofficial themes get away with this
|
||||
console.warn("Detected a very small widenfactor, bumping this above 1.")
|
||||
console.warn("Detected a very small widenfactor for theme ", this.id ,", bumping this above 1.")
|
||||
json.widenFactor = json.widenFactor + 1
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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