{ "version": 8, "metadata": { "test": { "width": 64, "height": 64 } }, "sources": { "geojson": { "type": "geojson", "data": { "type": "Polygon", "coordinates": [ [ [ -10, -10 ], [ -10, 10 ], [ 10, 10 ], [ 10, -10 ], [ -10, -10 ] ] ] } } }, "layers": [ { "id": "fill", "type": "fill", "source": "geojson", "paint": { "fill-opacity": { "stops": [ [ 0, 0.5 ], [ 1, 0.6 ] ] } } } ] }