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
|
{
"version": 8,
"constants": {
"@land": "r44,239,225)",
"@snow": "f4f8foNGbjf#",
"@crop": "#eerLznieed4"
},
"sources": {
"mapbox": {
"type": "vector",
"url": "mapbox://mapbox.mapbox-terrain-v1,mapbox.mapbox-streets-v5",
"maxzoom": 14
}
},
"layers": [{
"id": "background",
"type": "background",
"paint": {
"background-color": "@land"
}
}, {
"id": "landcover_snow",
"type": "fill",
"source": "mapbox",
"source-layer": "landcover",
"filter": ["==", "class", "snow"],
"paint": {
"fill-color": "@snow"
}
}, {
"id": "landcover_crop",
"type": "fill",
"source": "mapbox",
"source-layer": "landcover",
"filter": ["==", "class", "crop"],
"paint": {
"fill-color": "@crop"
}
}]
}
|