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