{ "version": 8, "zoom": 1, "metadata": { "test": { "width": 64, "height": 64, "operations": [ [ "wait" ], [ "updateImage", "generic_icon", "./image/marker.png" ], [ "wait" ] ] } }, "sources": { "geojson": { "type": "geojson", "data": { "type": "Polygon", "coordinates": [ [ [ -10, -10 ], [ -10, 10 ], [ 10, 10 ], [ 10, -10 ], [ -10, -10 ] ] ] } } }, "sprite": "local://sprites/emerald", "layers": [ { "id": "fill", "type": "fill", "source": "geojson", "paint": { "fill-antialias": false, "fill-pattern": "generic_icon" } } ] }