module.exports = function () { return { // Variables are NODE_ID and NODE_NAME (only a-z0-9\- other chars are replaced with _) 'nodeInfos': [ { 'name': 'Clientstatistik', 'href': 'https://statistik.freifunk-troisdorf.de/render/d-solo/oUBqc1Wmk/nodes?orgId=1&var-hostname={NODE_NAME}&refresh=10s&panelId=2&theme=light&width=1000&height=500&tz=UTC%2B02%3A00', 'image': 'https://statistik.freifunk-troisdorf.de/render/d-solo/oUBqc1Wmk/nodes?orgId=1&var-hostname={NODE_NAME}&refresh=10s&panelId=2&theme=light&width=1000&height=500&tz=UTC%2B02%3A00', 'title': 'Knoten {NODE_ID} - weiteren Statistiken' }, { 'name': 'Traffic', 'href': 'https://statistik.freifunk-troisdorf.de/render/d-solo/oUBqc1Wmk/nodes?orgId=1&var-hostname={NODE_NAME}&refresh=10s&panelId=3&theme=light&width=1000&height=500&tz=UTC%2B02%3A00', 'image': 'https://statistik.freifunk-troisdorf.de/render/d-solo/oUBqc1Wmk/nodes?orgId=1&var-hostname={NODE_NAME}&refresh=10s&panelId=3&theme=light&width=1000&height=500&tz=UTC%2B02%3A00', 'title': 'Knoten {NODE_ID} - weiteren Statistiken' } ], // Array of data provider are supported 'dataPath': [ 'https://map.freifunk-troisdorf.de/data/tdf4/', 'https://map.freifunk-troisdorf.de/data/tdf5/', 'https://map.freifunk-troisdorf.de/data/tdf6/' ], 'siteName': 'Freifunk Troisdorf', 'maxAge': 7, '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': 20, 'subdomains': '1234', 'attribution': '© OpenMapTiles © OpenStreetMap contributors' } }, { 'name': 'Freifunk Troisdorf', 'url': 'https://tiles.freifunk-rhein-sieg.net/styles/osm-bright/{z}/{x}/{y}.png', 'config': { 'maxZoom': 20, 'type': 'osm', 'attribution': 'Design © Mapbox, CC-BY 3.0 — Daten © OpenStreetMap' } }, { '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': 20, 'subdomains': '1234', 'attribution': ' © OpenMapTiles © OpenStreetMap contributors', 'mode': 'night' } }, { 'name': 'OpenStreetMap.HOT', 'url': 'https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', 'config': { 'maxZoom': 19, 'attribution': '© Openstreetmap France | © OpenStreetMap' } }, { 'name': 'Esri.WorldImagery', 'url': '//server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', 'config': { 'maxZoom': 20, 'attribution': 'Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community' } } ], // Set a visible frame 'fixedCenter': [ // Northwest [ 50.8428, 7.0367 ], // Southeast [ 50.776, 7.1919 ] ], 'siteNames': [ { 'site': 'tdf', 'name': 'Troisdorf' }, { 'site': 'inn', 'name': 'Innenstadt' }, { 'site': 'flu', 'name': 'Soziale Netze' } ], 'linkList': [ { 'title': 'Impressum', 'href': 'http://freifunk-troisdorf.de/kontakt/impressum/' }, { 'title': 'Datenschutz', 'href': 'http://freifunk-troisdorf.de/datenschutz/' } ] }; };