0.2.2 • Published 7 years ago

vt2pbf v0.2.2

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

vt2pbf NPM version Build Status Dependency Status Coverage percentage

Convert Mapbox Vector Tiles to binary protobuf.

Installation

$ npm install --save vt2pbf

Usage

const vt2pbf = require('vt2pbf');

const layers = {
  geojsonLayer: tile
};

// this is default options
const options = {
  version: 2,
  extent: 4096
};

const buffer = vt2pbf(layers, options);
console.log(buffer);

License

MIT © wsw0108

0.2.2

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago