-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuttons.json
101 lines (101 loc) · 3.83 KB
/
buttons.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
95
96
97
98
99
100
101
{
"buttons": [
{
"id": "expand",
"class": "directory",
"active": true,
"name": "◉",
"source": [
{ "id": "gravel-road", "class": "layerIds", "active": false, "layerIds": {
"road-unpaved": [{"propertyType": "layout", "property": "visibility", "value": "visible"}]
}},
{ "id": "trails", "class": "layerIds", "active": true, "layerIds": {
"cycleway-unpaved": [{"propertyType": "layout", "property": "visibility", "value": "visible"}],
"cycleway-unknown": [{"propertyType": "layout", "property": "visibility", "value": "visible"}]
}},
{ "id": "paved", "class": "layerIds", "active": true, "layerIds": {
"cycleway-paved": [{"propertyType": "layout", "property": "visibility", "value": "visible"}],
"cyclefriendly-paved": [{"propertyType": "layout", "property": "visibility", "value": "visible"}]
}},
{ "id": "route", "class": "route" },
{
"id": "satellite",
"class": "layer",
"name": "sat",
"type": "raster",
"source": {"type": "raster", "tiles": ["https://api.mapbox.com/styles/v1/mapbox/satellite-v9/tiles/{z}/{x}/{y}?access_token={CYCLEMAPS_MAPBOX_PUBLIC_ACCESS_TOKEN}"]},
"beforeId": "satellite-anchor"
},
{ "id": "weather", "class": "directory", "source": [
{
"id": "past-rain-1d",
"class": "rain",
"type": "raster",
"paint": {"raster-opacity": 0.5},
"beforeId": "rain-anchor",
"group": "weather",
"source": {
"type": "raster",
"tileSize": 2048,
"tiles" : [
"https://mapservices.weather.noaa.gov/raster/rest/services/obs/rfc_qpe/MapServer/export?bbox={bbox-epsg-3857}&size=512,512&dpi=96&format=png8&transparent=true&bboxSR=3857&imageSR=3857&layers=show:28&f=image"
]
}
},
{
"id": "past-rain-3d",
"class": "rain",
"type": "raster",
"paint": {"raster-opacity": 0.5},
"beforeId": "rain-anchor",
"group": "weather",
"source": {
"type": "raster",
"tileSize": 2048,
"tiles" : [
"https://mapservices.weather.noaa.gov/raster/rest/services/obs/rfc_qpe/MapServer/export?bbox={bbox-epsg-3857}&size=512,512&dpi=96&format=png8&transparent=true&bboxSR=3857&imageSR=3857&layers=show:40&f=image"
]
}
},
{
"id": "past-rain-7d",
"class": "rain",
"type": "raster",
"paint": {"raster-opacity": 0.5},
"beforeId": "rain-anchor",
"group": "weather",
"source": {
"type": "raster",
"tileSize": 2048,
"tiles" : [
"https://mapservices.weather.noaa.gov/raster/rest/services/obs/rfc_qpe/MapServer/export?bbox={bbox-epsg-3857}&size=512,512&dpi=96&format=png8&transparent=true&bboxSR=3857&imageSR=3857&layers=show:56&f=image"
]
}
},
{
"id": "past-rain-30d",
"class": "rain",
"type": "raster",
"paint": {"raster-opacity": 0.5},
"beforeId": "rain-anchor",
"group": "weather",
"source": {
"type": "raster",
"tileSize": 2048,
"tiles" : [
"https://mapservices.weather.noaa.gov/raster/rest/services/obs/rfc_qpe/MapServer/export?bbox={bbox-epsg-3857}&size=512,512&dpi=96&format=png8&transparent=true&bboxSR=3857&imageSR=3857&layers=show:68&f=image"
]
}
}
]},
{ "id": "more", "name": "☰", "class": "directory", "source": [
{ "id": "reset", "class": "reset" },
{ "id": "heat", "class": "externalLink", "url": "https://www.strava.com/maps/global-heatmap?style=dark&terrain=false&sport=Ride&gColor=red#{z}/{latitude}/{longitude}" },
{ "id": "osm", "class": "externalLink", "url": "https://www.openstreetmap.org/edit#map={z1}/{latitude}/{longitude}" },
{ "id": "g", "class": "externalLink", "url": "https://www.google.com/maps/@{latitude},{longitude},{z1}z" },
{ "id": "about-menu", "name": "about", "class": "about" }
]}
]
}
]
}