chore: remove outdated "mapTileset" frontend config section
This commit is contained in:
parent
7d2c45da43
commit
3aee226630
|
@ -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",
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue