{ "version": 8, "sources": { "source": { "type": "vector", "url": "maptiler://sources/streets", "maxzoom": 14 } }, "layers": [{ "id": "landcover_grass", "type": "fill", "source": "source", "source-layer": "globallandcover", "filter": ["==", "class", "grass"], "paint": { "fill-opacity": { "stops": [] } } }, { "id": "landcover_scrub", "type": "fill", "source": "source", "source-layer": "globallandcover", "filter": ["==", "class", "scrub"], "paint": { "fill-opacity": { "stops": [[12]] } } }, { "id": "landcover_wood", "type": "fill", "source": "source", "source-layer": "globallandcover", "filter": ["==", "class", "wood"], "paint": { "fill-color": "#001100", "fill-opacity": { "stops": [[12, 1], [13, 0.8], [16, 0.2]] } } }] }