{ "version": 8, "metadata": { "test": { "height": 64, "width": 64 } }, "center": [ 0, 0 ], "zoom": 0, "sources": { "point": { "type": "geojson", "data": { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "x": 1 }, "geometry": { "type": "Point", "coordinates": [ 0, -10 ] } }, { "type": "Feature", "properties": { "x": 0 }, "geometry": { "type": "Point", "coordinates": [ 0, 10 ] } } ] } } }, "glyphs": "local://glyphs/{fontstack}/{range}.pbf", "layers": [ { "id": "text", "type": "symbol", "source": "point", "layout": { "text-field": { "type": "categorical", "property": "x", "stops": [ [0, "Zero"], [1, "One"] ] }, "text-font": [ "Open Sans Semibold", "Arial Unicode MS Bold" ] } } ] }