chore: remove outdated "mapTileset" frontend config section

This commit is contained in:
Paul Bienkowski 2021-12-03 17:01:10 +01:00
parent 7d2c45da43
commit 3aee226630
5 changed files with 0 additions and 25 deletions

View file

@ -36,11 +36,6 @@ FRONTEND_DIR = "../frontend/build/"
FRONTEND_CONFIG = {
"imprintUrl": "https://example.com/imprint",
"privacyPolicyUrl": "https://example.com/privacy",
"mapTileset": {
"url": "https://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png",
"minZoom": 0,
"maxZoom": 18,
},
"mapHome": {"zoom": 15, "longitude": 7.8302, "latitude": 47.9755},
"obsMapSource": {
"type": "vector",

View file

@ -4,11 +4,6 @@
"imprintUrl": "https://example.com/imprint",
"privacyPolicyUrl": "https://example.com/privacy",
"basename": "/",
"mapTileset": {
"url": "https://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png",
"minZoom": 0,
"maxZoom": 18
},
"mapHome": {
"zoom": 15,
"longitude": 7.8302,

View file

@ -4,11 +4,6 @@
"imprintUrl": "https://example.com/imprint",
"privacyPolicyUrl": "https://example.com/privacy",
"basename": "/",
"mapTileset": {
"url": "https://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png",
"minZoom": 0,
"maxZoom": 18
},
"mapHome": {
"zoom": 15,
"longitude": 9.1797,

View file

@ -3,11 +3,6 @@
"imprintUrl": "https://portal.example.com/imprint",
"privacyPolicyUrl": "https://portal.example.com/privacy",
"basename": "/",
"mapTileset": {
"url": "https://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png",
"minZoom": 0,
"maxZoom": 18
},
"mapHome": {
"zoom": 15,
"longitude": 7.8302,

View file

@ -20,11 +20,6 @@ export interface Config {
obsMapSource?: MapSoure
imprintUrl?: string
privacyPolicyUrl?: string
mapTileset?: {
url?: string
minZoom?: number
maxZoom?: number
}
}
async function loadConfig(): Promise<Config> {