forked from ffrgb/meshviewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
167 lines (166 loc) · 5.49 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
module.exports = function () {
return {
// Array of data provider are supported
'dataPath': [
'https://map.tecff.de/yanic/'
],
'siteName': 'Freifunk Altdorf',
'maxAgeAlert': 1,
// Variables are NODE_ID and NODE_NAME (only a-z0-9\- other chars are replaced with _)
'nodeInfos': [
{
"name": "Clients (1 Tag)",
"image": "https://stats.tecff.de/render/d-solo/000000003/node?panelId=1&var-node_id={NODE_ID}&width=650&height=300&theme=light&from=now-24h",
"href": "https://stats.tecff.de/d/000000003/node?var-node_id={NODE_ID}",
'title': 'Knoten {NODE_ID} - weitere Statistiken'
},
{
"name": "Traffic (24 Stunden)",
"image": "https://stats.tecff.de/render/d-solo/000000003/node?panelId=6&var-node_id={NODE_ID}&width=650&height=350&theme=light&from=now-24h",
"href": "https://stats.tecff.de/d/000000003/node?var-node_id={NODE_ID}",
'title': 'Knoten {NODE_ID} - weitere Statistiken'
},
{
'name': 'Airtime (24 Stunden)',
'image': 'https://stats.tecff.de/render/d-solo/000000003/node?panelId=33&var-node_id={NODE_ID}&width=650&height=300&theme=light&from=now-24h',
"href": "https://stats.tecff.de/d/000000003/node?var-node_id={NODE_ID}",
'title': 'Knoten {NODE_ID} - weitere Statistiken'
},
{
"name": "Clients (7 Tage)",
"image": "https://stats.tecff.de/render/d-solo/000000003/node?panelId=1&var-node_id={NODE_ID}&width=650&height=300&theme=light&from=now-7d",
"href": "https://stats.tecff.de/d/000000003/node?var-node_id={NODE_ID}",
'title': 'Knoten {NODE_ID} - weitere Statistiken'
},
{
"name": "Traffic (7 Tage)",
"image": "https://stats.tecff.de/render/d-solo/000000003/node?panelId=6&var-node_id={NODE_ID}&width=650&height=350&theme=light&from=now-7d",
"href": "https://stats.tecff.de/d/000000003/node?var-node_id={NODE_ID}",
'title': 'Knoten {NODE_ID} - weitere Statistiken'
}
],
'linkInfos': [
{
'name': 'Statistik für alle Links zwischen diesen Knoten',
'image': 'https://stats.tecff.de/render/d-solo/000000003/node?panelId=36&var-node_id={SOURCE_ID}&var-nodetolink={TARGET_ID}&width=650&height=300&theme=light&from=now-24h',
'href': 'https://stats.tecff.de/d/000000003/node?var-node_id={SOURCE_ID}&panelId=36&fullscreen&var-nodetolink={TARGET_ID}',
'title': 'Linkstatistik des letzten Tages, min und max aller Links zwischen diesen Knoten'
}
],
'mapLayers': [
{
"name": "OpenStreetMap Mapnik",
"url": "https://osmtiles.tecff.de/osm/{z}/{x}/{y}.png",
"config": {
"attribution": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap contributors</a>. ♥ <a href=\"http://donate.openstreetmap.org\" class=\"donate-attr\">Make a Donation</a>",
"maxZoom": 19
}
},
{
"name": "OpenStreetMap Humanitarian/HOT)",
"url": "https://osmtiles.tecff.de/osmhot/{z}/{x}/{y}.png",
"config": {
"attribution": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap contributors</a>. Tiles courtesy of <a href=\"http://hot.openstreetmap.org\" target=\"_blank\">Humanitarian OpenStreetMap Team</a>",
"maxZoom": 20
}
}
],
// Set a visible frame
'fixedCenter': [
// Northwest
[
48.7014,
11.8666
],
// Southeast
[
48.2421,
12.7689
]
],
'domainNames': [
{
'domain': 'tecff',
'name': 'Freifunk Altdorf (alt)'
},
{
'domain': 'tecff_landshut_innenstadt',
'name': 'Freifunk Landshut (Innenstadt)'
},
{
'domain': 'tecff_event',
'name': 'Freifunk Event'
},
{
'domain': 'tecff_landshut_stadt',
'name': 'Freifunk Landshut (Stadt)'
},
{
'domain': 'tecff_muehldorf',
'name': 'Freifunk Mühldorf'
},
{
'domain': 'tecff_nsv',
'name': 'Freifunk Neumarkt-St.Veit'
},
{
'domain': 'tecff_altdorf_ndb',
'name': 'Freifunk Altdorf (Niederbayern)'
},
{
'domain': 'tecff_pfettrach_altdorf',
'name': 'Freifunk Pfettrach'
},
{
'domain': 'tecff_bruckberg',
'name': 'Freifunk Bruckberg'
},
{
'domain': 'tecff_ergolding',
'name': 'Freifunk Ergolding'
},
{
'domain': 'tecff_landshut_landkreis',
'name': 'Freifunk Landkreis Landshut'
},
{
'domain': 'tecff_freising',
'name': 'Freifunk Landkreis Freising'
},
{
'domain': 'tecff_oberbayern',
'name': 'Freifunk Oberbayern'
},
{
'domain': 'tecff_dingolfing_landau',
'name': 'Freifunk Dingolfing/Landau'
},
{
'domain': 'tecff_passau',
'name': 'Freifunk Passau'
},
{
'domain': 'tecff_bad_griesbach',
'name': 'Freifunk Bad Griesbach'
},
{
'domain': 'ffotn.init.tk',
'name': 'Freifunk Oberbayern (alt)'
},
{
'domain': 'ffgri.init.tk',
'name': 'Freifunk Bad Grießbach (alt)'
}
],
'linkList': [
{
'title': 'Impressum',
'href': 'https://www.freifunk-altdorf.de/verein/impressum/'
},
{
'title': 'Datenschutz',
'href': 'https://www.freifunk-altdorf.de/verein/impressum/datenschutz/'
}
]
};
};