vt2geojson
vt2geojson copied to clipboard
Expose buffer-geojson conversion method
Simply expose the function readTile as fromBuffer in the exports. This allows one to use this library in situations in which the tile has already been loaded but needs to be converted. In my case, I was writing tests for a tileserver with supertest and wanted to validate that all expected layers were returned in the protocol buffer.