2016-06-16 18:35:09 +00:00
|
|
|
// Grunt 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-06-22 01:15:53 +00:00
|
|
|
"thumbnail": "https://grafana.regensburg.freifunk.net/render/dashboard-solo/db/ffrgb-all-nodes?panelId=1&from=now-7d&var-nodeid={NODE_ID}&var-host={NODE_NAME}&width=650&height=350&theme=light&_t={TIME}",
|
2016-06-01 23:07:27 +00:00
|
|
|
"caption": "Knoten {NODE_ID} - weiteren Statistiken"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Trafficstatistik",
|
|
|
|
"href": "https://regensburg.freifunk.net/netz/statistik/node/{NODE_ID}/",
|
2016-06-22 01:15:53 +00:00
|
|
|
"thumbnail": "https://grafana.regensburg.freifunk.net/render/dashboard-solo/db/ffrgb-all-nodes?panelId=2&from=now-7d&var-nodeid={NODE_ID}&var-host={NODE_NAME}&width=650&height=350&theme=light&_t={TIME}",
|
2016-06-01 23:07:27 +00:00
|
|
|
"caption": "Knoten {NODE_ID} - weiteren Statistiken"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"globalInfos": [
|
|
|
|
{
|
|
|
|
"name": "Statistik",
|
|
|
|
"href": "https://regensburg.freifunk.net/netz/statistik/",
|
|
|
|
"thumbnail": "https://grafana.regensburg.freifunk.net/render/dashboard-solo/db/ffrgb-network-wide-stats?panelId=11&from=now-1y&width=600&height=350&theme=light",
|
|
|
|
"caption": "Jahresstatistik - weiteren Statistiken"
|
|
|
|
}
|
|
|
|
],
|
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/",
|
|
|
|
"siteName": "Freifunk Regensburg",
|
|
|
|
"showContact": false,
|
|
|
|
"maxAge": 14,
|
|
|
|
"mapLayers": [
|
2016-06-22 01:17:52 +00:00
|
|
|
{
|
|
|
|
"name": "OpenStreetMap.HOT",
|
|
|
|
"url": "https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",
|
|
|
|
"config": {
|
|
|
|
"maxZoom": 19,
|
|
|
|
"attribution": "© Openstreetmap France | © <a href=\"http://www.openstreetmap.org/copyright\">OpenStreetMap</a>"
|
|
|
|
}
|
|
|
|
},
|
2016-06-01 23:07:27 +00:00
|
|
|
{
|
|
|
|
"name": "HERE",
|
2016-06-16 18:35:09 +00:00
|
|
|
// Please use your own API key - Free plan is on right side after the pay plans
|
|
|
|
"url": "https://{s}.base.maps.api.here.com/maptile/2.1/maptile/newest/normal.day/{z}/{x}/{y}/256/png8?app_id=YOUR_KEY&app_code=YOUR_CODE&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",
|
|
|
|
"maxZoom": 20
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "HERE.hybridDay",
|
2016-06-16 18:35:09 +00:00
|
|
|
// Please use your own API key - Free plan is on right side after the pay plans
|
|
|
|
"url": "https://{s}.aerial.maps.api.here.com/maptile/2.1/maptile/newest/{variant}/{z}/{x}/{y}/256/png8?app_id=YOUR_KEY&app_code=YOUR_CODE&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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"fixedCenter": {
|
|
|
|
"lat": 49.01722,
|
|
|
|
"lng": 12.0969,
|
|
|
|
"radius": 45
|
|
|
|
},
|
|
|
|
"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
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|