Update config.js

This commit is contained in:
stebifan 2018-06-25 22:04:50 +02:00 committed by GitHub
parent ded730f36c
commit 28df47c15f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,12 +16,16 @@ module.exports = function () {
} }
], ],
// Array of data provider are supported // Array of data provider are supported
'dataPath': ['https://downloads.bremen.freifunk.net/data/'], 'dataPath': [
'siteName': 'Freifunk Bremen', '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, 'maxAge': 7,
'mapLayers': [ 'mapLayers': [
{ {
'name': 'Freifunk Regensburg', 'name': 'Freifunk Troisdorf',
// Please ask Freifunk Regensburg before using its tile server c- example with retina tiles // 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', 'url': 'https://{s}.tiles.ffrgb.net/{z}/{x}/{y}{retina}.png',
'config': { 'config': {
@ -71,19 +75,27 @@ module.exports = function () {
'fixedCenter': [ 'fixedCenter': [
// Northwest // Northwest
[ [
53.27917, 50.8428,
8.31390 7.0367
], ],
// Southeast // Southeast
[ [
52.9734, 50.776,
9.2037 7.1919
] ]
], ],
'siteNames': [ 'siteNames': [
{ {
'site': 'ffhb', 'site': 'tdf',
'name': 'Freifunk Bremen' 'name': 'Troisdorf'
},
{
'site': 'inn',
'name': 'Innenstadt'
},
{
'site': 'flu',
'name': 'Soziale Netze'
} }
], ],
'linkList': [ 'linkList': [