-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.json.example
123 lines (123 loc) · 3.64 KB
/
config.json.example
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
{
"api_url": "http://libremap.net/api",
"title": "global",
"init_bbox": [[-60,-180],[75,180]],
"plugins": {
"tileLayer": "./plugins/tileLayer",
"tileLayerBing": "./plugins/tileLayerBing",
"lmLayer": "./plugins/lmLayer/index",
"lmFilterRouterAP": "./plugins/lmLayer/filters/routerAP",
"lmFilterRouterCommunity": "./plugins/lmLayer/filters/routerCommunity",
"lmFilterRouterLastUpdate": "./plugins/lmLayer/filters/routerLastUpdate",
"lmFilterLinkDistanceMax": "./plugins/lmLayer/filters/linkDistanceMax",
"lmFilterLinkQualityMin": "./plugins/lmLayer/filters/linkQualityMin"
},
"TODO": {
"lmFilterLinkType": "./plugins/libremapLayer/filters_links/type"
},
"baseLayers": {
"active_id": "osm_cloudmade",
"layers": [
{
"plugin": "tileLayer",
"id": "osm_cloudmade",
"name": "OSM Cloudmade",
"url": "http://{s}.tile.cloudmade.com/{key}/{styleId}/256/{z}/{x}/{y}.png",
"options": {
"key": "e4e152a60cc5414eb81532de3d676261",
"styleId": 997,
"attribution": "Map data © <a href=\"http://openstreetmap.org\">OpenStreetMap</a> contributors, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\">CC-BY-SA</a>, Imagery © <a href=\"http://cloudmade.com\">CloudMade</a>"
}
},
{
"plugin": "tileLayer",
"id": "osm_standard",
"name": "OSM Standard",
"url": "http://{s}.tile.osm.org/{z}/{x}/{y}.png",
"options": {
"attribution": "Map data © <a href=\"http://openstreetmap.org\">OpenStreetMap</a> contributors, <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\">CC-BY-SA</a>"
}
},
{
"plugin": "tileLayerBing",
"id": "bing_satellite",
"name": "Bing satellite",
"key": "ArewtcSllazYp52r7tojb64N94l-OrYWuS1GjUGeTavPmJP_jde3PIdpuYm24VpR",
"options": {
"minZoom": 1
}
}
]
},
"dataLayers": [
{
"plugin": "lmLayer",
"id": "libremap.net",
"name": "Routers and Links",
"api_url": "http://libremap.net/api",
"fine_max": 200,
"show_routers": true,
"routers": {
"cluster": true,
"filter_mode": "or",
"filters": [
{
"plugin": "lmFilterRouterLastUpdate",
"enabled": true,
"name": "Time since update (days)",
"val": 7
},
{
"plugin": "lmFilterRouterAP",
"enabled": false,
"name": "Access points"
},
{
"plugin": "lmFilterRouterCommunity",
"enabled": false,
"name": "Community",
"val": "Freifunk Berlin"
}
]
},
"show_links": true,
"links": {
"filter_mode": "and",
"filters": [
{
"plugin": "lmFilterLinkDistanceMax",
"enabled": true,
"name": "Maximum distance (m)",
"val": 50000
},
{
"plugin": "lmFilterLinkQualityMin",
"enabled": true,
"name": "Minimum quality (0-1)",
"val": 0.5
}
],
"TODO": [
{
"plugin": "lmLinkFilterType",
"enabled": false,
"name": "Type",
"val": "batman"
},
{
"plugin": "distance_min",
"enabled": false,
"name": "Minimum distance (m)",
"val": 0
},
{
"plugin": "quality_max",
"enabled": true,
"name": "Maximum quality",
"val": 1
}
]
}
}
]
}