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
|
{
"version": 8,
"sources": {
"mapbox": {
"type": "vector",
"url": "mapbox://mapbox.mapbox-terrain-v1,mapbox.mapbox-streets-v5",
"maxzoom": 14
}
},
"layers": [{
"id": "landcover_grass",
"type": "fill",
"source": "mapbox",
"source-layer": "landcover",
"filter": ["==", "class", "grass"],
"paint": {
"fill-opacity": {
"stops": []
}
}
}, {
"id": "landcover_scrub",
"type": "fill",
"source": "mapbox",
"source-layer": "landcover",
"filter": ["==", "class", "scrub"],
"paint": {
"fill-opacity": {
"stops": [[12]]
}
}
}, {
"id": "landcover_wood",
"type": "fill",
"source": "mapbox",
"source-layer": "landcover",
"filter": ["==", "class", "wood"],
"paint": {
"fill-color": "#001100",
"fill-opacity": {
"stops": [[12, 1], [13, 0.8], [16, 0.2]]
}
}
}]
}
|