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 = {
|
FRONTEND_CONFIG = {
|
||||||
"imprintUrl": "https://example.com/imprint",
|
"imprintUrl": "https://example.com/imprint",
|
||||||
"privacyPolicyUrl": "https://example.com/privacy",
|
"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},
|
"mapHome": {"zoom": 15, "longitude": 7.8302, "latitude": 47.9755},
|
||||||
"obsMapSource": {
|
"obsMapSource": {
|
||||||
"type": "vector",
|
"type": "vector",
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
"imprintUrl": "https://example.com/imprint",
|
"imprintUrl": "https://example.com/imprint",
|
||||||
"privacyPolicyUrl": "https://example.com/privacy",
|
"privacyPolicyUrl": "https://example.com/privacy",
|
||||||
"basename": "/",
|
"basename": "/",
|
||||||
"mapTileset": {
|
|
||||||
"url": "https://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png",
|
|
||||||
"minZoom": 0,
|
|
||||||
"maxZoom": 18
|
|
||||||
},
|
|
||||||
"mapHome": {
|
"mapHome": {
|
||||||
"zoom": 15,
|
"zoom": 15,
|
||||||
"longitude": 7.8302,
|
"longitude": 7.8302,
|
||||||
|
|
|
@ -4,11 +4,6 @@
|
||||||
"imprintUrl": "https://example.com/imprint",
|
"imprintUrl": "https://example.com/imprint",
|
||||||
"privacyPolicyUrl": "https://example.com/privacy",
|
"privacyPolicyUrl": "https://example.com/privacy",
|
||||||
"basename": "/",
|
"basename": "/",
|
||||||
"mapTileset": {
|
|
||||||
"url": "https://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png",
|
|
||||||
"minZoom": 0,
|
|
||||||
"maxZoom": 18
|
|
||||||
},
|
|
||||||
"mapHome": {
|
"mapHome": {
|
||||||
"zoom": 15,
|
"zoom": 15,
|
||||||
"longitude": 9.1797,
|
"longitude": 9.1797,
|
||||||
|
|
|
@ -3,11 +3,6 @@
|
||||||
"imprintUrl": "https://portal.example.com/imprint",
|
"imprintUrl": "https://portal.example.com/imprint",
|
||||||
"privacyPolicyUrl": "https://portal.example.com/privacy",
|
"privacyPolicyUrl": "https://portal.example.com/privacy",
|
||||||
"basename": "/",
|
"basename": "/",
|
||||||
"mapTileset": {
|
|
||||||
"url": "https://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png",
|
|
||||||
"minZoom": 0,
|
|
||||||
"maxZoom": 18
|
|
||||||
},
|
|
||||||
"mapHome": {
|
"mapHome": {
|
||||||
"zoom": 15,
|
"zoom": 15,
|
||||||
"longitude": 7.8302,
|
"longitude": 7.8302,
|
||||||
|
|
|
@ -20,11 +20,6 @@ export interface Config {
|
||||||
obsMapSource?: MapSoure
|
obsMapSource?: MapSoure
|
||||||
imprintUrl?: string
|
imprintUrl?: string
|
||||||
privacyPolicyUrl?: string
|
privacyPolicyUrl?: string
|
||||||
mapTileset?: {
|
|
||||||
url?: string
|
|
||||||
minZoom?: number
|
|
||||||
maxZoom?: number
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async function loadConfig(): Promise<Config> {
|
async function loadConfig(): Promise<Config> {
|
||||||
|
|
Loading…
Reference in a new issue