2017-03-22 22:13:37 +00:00
|
|
|
// Gulp will remove all comments
|
2016-06-01 23:07:27 +00:00
|
|
|
{
|
2016-06-16 18:35:09 +00:00
|
|
|
// Variables are NODE_ID and NODE_NAME (only a-z0-9\- other chars are replaced with _)
|
2016-06-01 23:07:27 +00:00
|
|
|
"nodeInfos": [
|
|
|
|
{
|
|
|
|
"name": "Clientstatistik",
|
|
|
|
"href": "https://regensburg.freifunk.net/netz/statistik/node/{NODE_ID}/",
|
2016-05-22 22:37:58 +00:00
|
|
|
"image": "https://grafana.regensburg.freifunk.net/render/dashboard-solo/db/ffrgb-all-nodes-integration?panelId=1&from=now-1d&var-nodeid={NODE_ID}&var-host=All&width=650&height=350&theme=light&_t={TIME}",
|
2017-02-09 23:19:41 +00:00
|
|
|
"title": "Knoten {NODE_ID} - weiteren Statistiken"
|
2016-06-01 23:07:27 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Trafficstatistik",
|
|
|
|
"href": "https://regensburg.freifunk.net/netz/statistik/node/{NODE_ID}/",
|
2016-05-22 22:37:58 +00:00
|
|
|
"image": "https://grafana.regensburg.freifunk.net/render/dashboard-solo/db/ffrgb-all-nodes-integration?panelId=2&from=now-1d&var-nodeid={NODE_ID}&var-host=All&width=650&height=350&theme=light&_t={TIME}",
|
2017-02-09 23:19:41 +00:00
|
|
|
"title": "Knoten {NODE_ID} - weiteren Statistiken"
|
2016-06-01 23:07:27 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"globalInfos": [
|
|
|
|
{
|
|
|
|
"name": "Statistik",
|
|
|
|
"href": "https://regensburg.freifunk.net/netz/statistik/",
|
2017-02-09 23:19:41 +00:00
|
|
|
"image": "https://grafana.regensburg.freifunk.net/render/dashboard-solo/db/ffrgb-network-wide-stats?panelId=11&from=now-1y&width=600&height=350&theme=light",
|
|
|
|
"title": "Jahresstatistik - weiteren Statistiken"
|
2016-06-01 23:07:27 +00:00
|
|
|
}
|
|
|
|
],
|
2016-06-16 18:35:09 +00:00
|
|
|
// String or array of data provider are supported
|
2016-06-01 23:07:27 +00:00
|
|
|
"dataPath": "https://regensburg.freifunk.net/data/",
|
2016-05-22 22:37:58 +00:00
|
|
|
"reverseGeocodingApi": "https://regensburg.freifunk.net/geocoding/reverse",
|
2016-06-01 23:07:27 +00:00
|
|
|
"siteName": "Freifunk Regensburg",
|
|
|
|
"mapLayers": [
|
2017-01-17 02:28:14 +00:00
|
|
|
{
|
|
|
|
"name": "Freifunk Regensburg",
|
2016-05-22 22:37:58 +00:00
|
|
|
// Please ask Freifunk Regensburg before using its tile server - example with retina tiles
|
2017-01-17 02:28:14 +00:00
|
|
|
"url": "https://{s}.tiles.ffrgb.net/{z}/{x}/{y}{retina}.png",
|
|
|
|
"config": {
|
|
|
|
"maxZoom": 22,
|
2016-05-22 22:37:58 +00:00
|
|
|
"subdomains": "1",
|
2017-03-29 22:21:41 +00:00
|
|
|
"attribution": "<a href=\"https://www.mapbox.com/about/maps/\" target=\"_blank\">© Mapbox</a> <a href=\"https://openstreetmap.org/about/\" target=\"_blank\">© OpenStreetMap</a> <a class=\"mapbox-improve-map\" href=\"https://www.mapbox.com/map-feedback/\" target=\"_blank\">Improve this map</a>",
|
2017-01-17 02:28:14 +00:00
|
|
|
"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,
|
2016-05-22 22:37:58 +00:00
|
|
|
"subdomains": "1",
|
2017-03-29 22:21:41 +00:00
|
|
|
"attribution": "<a href=\"https://www.mapbox.com/about/maps/\" target=\"_blank\">© Mapbox</a> <a href=\"https://openstreetmap.org/about/\" target=\"_blank\">© OpenStreetMap</a> <a class=\"mapbox-improve-map\" href=\"https://www.mapbox.com/map-feedback/\" target=\"_blank\">Improve this map</a>",
|
2017-01-17 02:28:14 +00:00
|
|
|
"mode": "night",
|
|
|
|
"start": 19,
|
|
|
|
"end": 7
|
|
|
|
}
|
|
|
|
},
|
2016-06-22 01:17:52 +00:00
|
|
|
{
|
2016-05-22 22:37:58 +00:00
|
|
|
"name": "HERE Satellit Hybrid",
|
2016-06-16 18:35:09 +00:00
|
|
|
// Please use your own API key - Free plan is on right side after the pay plans
|
2016-05-22 22:37:58 +00:00
|
|
|
"url": "https://{s}.aerial.maps.api.here.com/maptile/2.1/maptile/newest/{variant}/{z}/{x}/{y}/256/png8?app_id=Q40ik5rnMQOpOQ6RrHCr&app_code=kIPJpCtUZMTiQQJiCemX6Q&lg=deu",
|
2016-06-01 23:07:27 +00:00
|
|
|
"config": {
|
|
|
|
"attribution": "Map © 1987-2014 <a href=\"http://developer.here.com\">HERE</a>",
|
|
|
|
"subdomains": "1234",
|
|
|
|
"variant": "hybrid.day",
|
|
|
|
"maxZoom": 20
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2017-02-08 20:12:04 +00:00
|
|
|
// Set a visible frame
|
|
|
|
"fixedCenter": [
|
|
|
|
// Northwest
|
|
|
|
[
|
|
|
|
49.3522,
|
|
|
|
11.7752
|
|
|
|
],
|
|
|
|
// Southeast
|
|
|
|
[
|
|
|
|
48.7480,
|
|
|
|
12.8917
|
|
|
|
]
|
|
|
|
],
|
2016-06-01 23:07:27 +00:00
|
|
|
"siteNames": [
|
|
|
|
{
|
|
|
|
"site": "ffrgb-bat15",
|
|
|
|
"name": "Regensburg"
|
2016-06-22 01:17:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"site": "ffrgb",
|
|
|
|
"name": "Regensburg"
|
2016-06-01 23:07:27 +00:00
|
|
|
}
|
2017-03-29 22:21:41 +00:00
|
|
|
]
|
2016-06-01 23:07:27 +00:00
|
|
|
}
|