{ "version": 8, "metadata": { "test": { "height": 256, "pixelRatio": 2 } }, "sources": { "geojson": { "type": "geojson", "buffer": 0, "data": { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "property": 20 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -0.0004, 0 ], [ -0.0002, 0.0002 ], [ 0, 0 ], [ -0.0002, -0.0002 ], [ -0.0004, 0 ] ] ] } }, { "type": "Feature", "properties": { "property": 20 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 0, -0.0002 ], [ 0, 0.0002 ], [ 0.0003, 0.0002 ], [ 0.0003, -0.0002 ], [ 0, -0.0002 ] ] ] } } ] } } }, "sprite": "local://sprites/emerald", "pitch": 60, "zoom": 18, "layers": [ { "id": "extrusion", "type": "fill-extrusion", "source": "geojson", "paint": { "fill-extrusion-pattern": "generic_icon", "fill-extrusion-height": 10 } } ] }