{ "version": 8, "metadata": { "test": { "height": 128, "width": 64 } }, "zoom": 11.7, "sources": { "a": { "type": "geojson", "maxzoom": 10, "data": { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "class": "street" }, "geometry": { "type": "LineString", "coordinates": [ [ 10, -0.01 ], [ -10, -0.01 ] ] } }, { "type": "Feature", "properties": { "class": "path" }, "geometry": { "type": "LineString", "coordinates": [ [ -10, 0 ], [ 10, 0 ] ] } }, { "type": "Feature", "properties": { "class": "street" }, "geometry": { "type": "LineString", "coordinates": [ [ -10, 0.01 ], [ 10, 0.01 ] ] } } ] } } }, "sprite": "local://sprites/emerald", "layers": [ { "id": "background", "type": "background", "paint": { "background-color": "white" } }, { "id": "road", "type": "line", "source": "a", "paint": { "line-width": 20, "line-pattern": "generic_icon" } } ] }