forked from freifunkhamburg/Knotenkarten-Konfig
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
83 lines (82 loc) · 1.97 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
module.exports = function () {
return {
// Array of data provider are supported
'dataPath': [
'//mesh.freifunknord.de/data/',
'//mesh.freifunknord.de/iz/',
'//mesh.freifunknord.de/ploh/'
],
'siteName': 'Freifunk Nord',
'mapLayers': [
{
'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>'
}
},
{
'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
[
54.1109,
9.805298
],
// Southeast
[
53.2,
10.5
]
],
'domainNames': [
{
'domain': '',
'name': 'Gateways'
},
{
'domain': 'ffnord',
'name': 'Freifunk Nord Hauptdomäne'
},
{
'domain': 'ffnord-iz',
'name': 'Freifunk Kreis Steinburg'
},
{
'domain': 'ffnord-oh',
'name': 'Freifunk Kreis Plön Ostholstein'
},
{
'domain': 'ffki',
'name': 'Freifunk Kiel'
},
{
'domain': 'ffhh',
'name': 'Freifunk Hamburg'
},
{
'domain': 'ffnh',
'name': 'Freifunk Nordheide'
}
],
'linkList': [
{
'title': 'Impressum',
'href': '//nord.freifunk.net/impressum.html'
},
{
'title': 'Datenschutz',
'href': '//nord.freifunk.net/datenschutzerklaerung.html'
}
]
};
};