This package has been deprecated

Author message:

PR merged to vt-pbf@3.1.0

vt2pbf

0.2.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i vt2pbf

Weekly Downloads

1

Version

0.2.2

License

MIT

Last publish

Collaborators

  • wsw0108