diff --git a/api/config.py.example b/api/config.py.example index b1447fd..1c8c92d 100644 --- a/api/config.py.example +++ b/api/config.py.example @@ -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", diff --git a/frontend/config.dev.json b/frontend/config.dev.json index 5f71b48..f7b5bf4 100644 --- a/frontend/config.dev.json +++ b/frontend/config.dev.json @@ -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, diff --git a/frontend/config.example.json b/frontend/config.example.json index d1f1929..715e63b 100644 --- a/frontend/config.example.json +++ b/frontend/config.example.json @@ -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, diff --git a/frontend/public/config.json b/frontend/public/config.json index 17d84f7..9947856 100644 --- a/frontend/public/config.json +++ b/frontend/public/config.json @@ -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, diff --git a/frontend/src/config.ts b/frontend/src/config.ts index 04805a7..6b6f4f1 100644 --- a/frontend/src/config.ts +++ b/frontend/src/config.ts @@ -20,11 +20,6 @@ export interface Config { obsMapSource?: MapSoure imprintUrl?: string privacyPolicyUrl?: string - mapTileset?: { - url?: string - minZoom?: number - maxZoom?: number - } } async function loadConfig(): Promise {