vectorTilesToGeoJSON(uri, tiles, layers)
Stream GeoJSON from a Mapbox Vector Tile source
| parameter | type | description |
|---|---|---|
| uri | String |
the tilelive URI for the vector tile source to use. |
| tiles | Array |
The tiles to read from the tilelive source. Can be:
|
| layers | Array |
The layers to read from the tiles. If empty, read all layers. |
ReadableStream<Feature>
:
A stream of GeoJSON Feature objects. Emits 'warning' events with { tile, error } when a tile from the requested set is not found.