tilelive-bridge
Implements the tilelive API for generating mapnik vector tiles from traditional mapnik datasources.
new Bridge(options, callback)
- xml: a Mapnik XML string that will be used to generate vector tiles.
- base: Optional, basepath for Mapnik map. Defaults to
__dirname
.
Installation
npm install tilelive-bridge
Though tilelive
is not a dependency of tilelive-bridge
you will want to
install it to actually make use of tilelive-bridge
through a reasonable
API.
Usage
var tilelive = ;; tilelive;