Create a cache vector tiles from GeoJSON files.
npm install -g tylr
Using tylr can be done in 2 ways, either as a command line utility or as a node module.
# using a -f to pass in featurestylr -f ./examples/us-states.json -d ./output -n states -l 0,5 -t pbf# OR stream features in like thiscat ./examples/us-states.json | tylr -d ./out -n states
var options =d: './out'n: 'layer-name't: 'pbf'l: '0,5'// pass the options into tylrvar tylr = options// add array of features to tilevar features = ...// add each feature to tylrfeature// finally dump the features out to disktylr