Vladimir Agafonkin 2258a955e9 fix tests
2014-06-26 18:03:26 +03:00
2014-04-12 18:15:36 -04:00
2014-06-26 18:03:26 +03:00
2014-04-13 10:25:00 -04:00
2014-04-13 10:24:25 -04:00
2014-04-12 18:15:36 -04:00
2014-06-24 16:52:17 -04:00

vector-tile-js

build status Coverage Status

This library reads vector tiles and allows access to the layers and features.

Example

var tile = new VectorTile(data);

// Contains a map of all layers
tile.layers;

var landuse = tile.layers.landuse;

// Amount of features in this layer
landuse.length;

// Returns the first feature
landuse.feature(0);

Depends

  • Node.js v0.10.x or v0.8.x

Install

To install:

npm install vector-tile
Description
Parses vector tiles with JavaScript
Readme 492 KiB
Languages
JavaScript 100%