forked from noi-techpark/webcomp-routeplanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwcs-manifest.json
94 lines (94 loc) · 2.72 KB
/
wcs-manifest.json
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
{
"title": "Routeplanner",
"description": "Routeplanner widget",
"descriptionAbstract": "Routeplanner widget",
"license": "AGPL-3.0-or-later",
"copyrightHolders": [
{
"name": "NOI",
"email": "[email protected]",
"organization": "NOI S.p.A",
"organizationUrl": "https://noi.bz.it"
},
{
"name": "STA",
"email": "[email protected]",
"organization": "STA - Südtiroler Transportstrukturen AG / Strutture Trasporto Alto Adige SpA",
"organizationUrl": "https://www.sta.bz.it"
}
],
"authors": [
{
"name": "Belka",
"email": "[email protected]",
"organization": "Belka",
"organizationUrl": "https://belkadigital.com/"
}
],
"image": "wcs-logo.png",
"searchTags": ["map", "mobility", "routeplanner"],
"dist": {
"basePath": "dist",
"files": ["routeplanner_widget.min.js"]
},
"configuration": {
"tagName": "routeplanner-widget",
"options": [
{
"key": "language",
"type": "select",
"label": "Two letter key for the language to be used, if omitted the widget will use the language of the browser (navigator.language[?s]) if supported. Fallback is `en`",
"required": false,
"options": {
"values": ["en", "de", "it"],
"default": "en"
}
},
{
"key": "destination",
"type": "text",
"label": "Coordinates of the destination in the following format: `longitude:latitude`",
"required": true,
"options": {
"default": "11.1604034:46.6684672"
}
},
{
"key": "destination-name",
"type": "text",
"label": "Display name of the destination",
"required": true,
"options": {
"default": "Terme di Merano, Merano"
}
},
{
"key": "disable-car",
"type": "bool",
"label": "Disable car routing, if present only public means will be shown",
"required": true,
"options": {
"default": "false"
}
},
{
"key": "attribution",
"type": "text",
"label": "Attribution text for the tiles, can contain html (without double-quotes)",
"required": true,
"options": {
"default": "Map Tiles © <a href='http://developer.here.com'>HERE</a>"
}
},
{
"key": "tiles-url",
"type": "text",
"label": "Url for the tiles, see https://leafletjs.com/reference-1.6.0.html#tilelayer",
"required": true,
"options": {
"default": "https://1.base.maps.ls.hereapi.com/maptile/2.1/maptile/newest/normal.day/{z}/{x}/{y}/256/png8?apiKey=y5RrMr902fINWuq7KpVyKJngOMoEUY6RRiX755yTJgU"
}
}
]
}
}