Files
MapLibreParticleLab/test/fixtures/style_parser/stop-zoom-value.style.json
2014-07-18 17:58:17 -04:00

46 lines
920 B
JSON

{
"version": 3,
"sources": {
"mapbox": {
"type": "vector",
"url": "mapbox://mapbox.mapbox-terrain-v1,mapbox.mapbox-streets-v5",
"maxZoom": 14
}
},
"layers": [{
"id": "landcover_grass",
"source": "mapbox",
"source-layer": "landcover",
"filter": { "class": "grass" },
"type": "fill",
"style": {
"fill-opacity": {
"stops": []
}
}
}, {
"id": "landcover_scrub",
"source": "mapbox",
"source-layer": "landcover",
"filter": { "class": "scrub" },
"type": "fill",
"style": {
"fill-opacity": {
"stops": [[12]]
}
}
}, {
"id": "landcover_wood",
"source": "mapbox",
"source-layer": "landcover",
"filter": { "class": "wood" },
"type": "fill",
"style": {
"fill-color": "@wood",
"fill-opacity": {
"stops": [[12, 1], [13, 0.8], [16, 0.2]]
}
}
}]
}