forked from MapComplete/MapComplete
Preparatory steps to query OSM-api directly, add precise input to bench and waste basket, add waste types
This commit is contained in:
parent
3c51c28157
commit
b39a2b2f6e
7 changed files with 108 additions and 14 deletions
|
@ -2,7 +2,7 @@ import {Utils} from "../Utils";
|
|||
|
||||
export default class Constants {
|
||||
|
||||
public static vNumber = "0.9.8";
|
||||
public static vNumber = "0.9.9";
|
||||
|
||||
// The user journey states thresholds when a new feature gets unlocked
|
||||
public static userJourney = {
|
||||
|
@ -26,6 +26,12 @@ export default class Constants {
|
|||
*/
|
||||
static updateTimeoutSec: number = 30;
|
||||
|
||||
/**
|
||||
* If zoom >= useOsmApiAt, then the OSM api will be used directly.
|
||||
* If undefined, use overpass exclusively
|
||||
*/
|
||||
static useOsmApiAt = undefined;
|
||||
|
||||
private static isRetina(): boolean {
|
||||
if (Utils.runningFromConsole) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue