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
and darwin
platforms)
Install
$ npm install --save trailpack-mapnik
Configure
module.exports = {
packs: [
require('trailpack-mapnik')
]
}
const path = require('path')
module.exports = {
maps: {
basemap: {
pathname: path.resolve(__dirname, 'basemap.xml')
},
someOverlay: {
pathname: path.resolve(__dirname, 'vector_overlay.xml')
}
},
protocols: [
require('tilelive-additionalplugin')
]
}
License
MIT
Maintained By