Preparatory steps to query OSM-api directly, add precise input to bench and waste basket, add waste types

This commit is contained in:
Pieter Vander Vennet 2021-09-10 01:18:51 +02:00
parent 3c51c28157
commit b39a2b2f6e
7 changed files with 108 additions and 14 deletions

View file

@ -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;