
Put zurich_switzerland.mbtiles in public/resources/gallery/ then run with: docker build . && docker run --rm -it -p 8080:8080 $(docker build -q .) -V \ --config /usr/src/app/public/resources/gallery/config.json URL on tileserver: http://0.0.0.0:8080/gallery/gallery.html Signed-off-by: Martin d'Allens <martin.dallens@liberty-rider.com>
32 lines
674 B
JSON
32 lines
674 B
JSON
{
|
|
"options": {
|
|
"paths": {
|
|
"root": "/usr/src/app/node_modules/tileserver-gl-styles",
|
|
"fonts": "fonts",
|
|
"styles": "styles",
|
|
"mbtiles": "/data",
|
|
"pmtiles": "/data"
|
|
},
|
|
"staticAttributionText": "© OpenStreetMap",
|
|
"watermark": "THIS IS A TEST WATERMARK",
|
|
"allowRemoteMarkerIcons": true
|
|
},
|
|
"styles": {
|
|
"basic-preview": {
|
|
"style": "basic-preview/style.json",
|
|
"tilejson": {
|
|
"bounds": [
|
|
8.275,
|
|
47.225,
|
|
8.8,
|
|
47.533
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"data": {
|
|
"v3": {
|
|
"mbtiles": "/usr/src/app/public/resources/gallery/zurich_switzerland.mbtiles"
|
|
}
|
|
}
|
|
}
|