UNPKG
trailpack-mapnik
Version:
latest (0.5.23)
0.5.23
0.5.21
0.5.20
0.5.19
0.5.18
0.5.17
0.5.16
0.5.15
0.5.13
0.5.12
0.5.11
0.5.10
0.5.9
0.5.8
0.5.7
0.5.6
0.5.4
0.5.1
0.1.2
0.1.1
Mapnik Tile Server with Trails.js
trailsjs.io
langateam/trailpack-mapnik
trailpack-mapnik
/
config
/
mapnik.js
15 lines
(13 loc)
•
182 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module
.
exports
= {
maps
: { },
modules
: [ ],
s3cache
: {
basemap
: {
getKey
({ x, y, z }) {
return
`hybrid/v1/
${z}
/
${x}
/
${y}
/512px.png`
} } } }