From d465f75d0b0727a3ffb463f27a3be75efccd762c Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Tue, 17 Jan 2017 03:28:14 +0100 Subject: [PATCH] [TASK] Use config with mode and retina tiles example --- config.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/config.json b/config.json index 34376bb..770036e 100644 --- a/config.json +++ b/config.json @@ -30,6 +30,30 @@ "maxAge": 14, "nodeZoom": 18, "mapLayers": [ + { + "name": "Freifunk Regensburg", + // Please ask Freifunk Regensburg before using its tile server c- example with retina tiles + "url": "https://{s}.tiles.ffrgb.net/{z}/{x}/{y}{retina}.png", + "config": { + "maxZoom": 22, + "subdomains": "1234", + "attribution": "© Mapbox © OpenStreetMap Improve this map", + "start": 6 + } + }, + { + "name": "Freifunk Regensburg Night", + // Please ask Freifunk Regensburg before using its tile server - example with retina and dark tiles + "url": "https://{s}.tiles.ffrgb.net/n/{z}/{x}/{y}{retina}.png", + "config": { + "maxZoom": 22, + "subdomains": "1234", + "attribution": "© Mapbox © OpenStreetMap Improve this map", + "mode": "night", + "start": 19, + "end": 7 + } + }, { "name": "OpenStreetMap.HOT", "url": "https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",