{ "version": 8, "metadata": { "test": { "height": 128, "width": 512 } }, "center": [ 0, 0 ], "zoom": 0, "sources": { "point": { "type": "geojson", "data": { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "spacing": -0.15, "text": "Very tight letter spacing" }, "geometry": { "type": "Point", "coordinates": [ -100, 0 ] } }, { "type": "Feature", "properties": { "spacing": 2, "text": "Very loose letter spacing" }, "geometry": { "type": "Point", "coordinates": [ 75, 0 ] } } ] } } }, "glyphs": "local://glyphs/{fontstack}/{range}.pbf", "layers": [ { "id": "background", "type": "background", "paint": { "background-color": "white" } }, { "id": "text", "type": "symbol", "source": "point", "layout": { "text-field": "{text}", "text-letter-spacing": { "type": "identity", "property": "spacing" }, "text-font": [ "Open Sans Semibold", "Arial Unicode MS Bold" ] } } ] }