File: README.md

package info (click to toggle)
node-tilelive-bridge 0.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 1,812 kB
  • ctags: 20
  • sloc: xml: 33; makefile: 2
file content (9 lines) | stat: -rw-r--r-- 397 bytes parent folder | download
1
2
3
4
5
6
7
8
9
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`.
- *deflate*: Optional, whether to generate deflated vector tiles. Defaults to `true`.