trailpack-mapnik
Setup a Map Server using Trails, Mapnik, and Tilelive. Supports tile caching with S3.
Compatibility
- Node 6 or higher
- Mapnik 3.0.9 or higher (tested on 3.0.9)
- OSX or Linux (binaries pre-built for
linux
anddarwin
platforms)
Install
$ npm install --save trailpack-mapnik
Configure
// config/main.jsmoduleexports = packs: // ... other trailpacks
// config/mapnik.jsconst path = moduleexports = /** * Define paths to mapnik map configs */ maps: basemap: pathname: path someOverlay: pathname: path /** * Additional Tilelive protocols (e.g. vector) */ protocols:
License
MIT