Advanced Setup
Use a custom offline map package
data/
βββ fonts/
β βββ Font Name/
β βββ font.pbf
β βββ ...
βββ sprites/
β βββ sprite.png
β βββ ...
βββ tiles.pmtiles
βββ style.json
βββ config.json{
"sources": {
"terrastories-map": { // This MUST be terrastories-map OR you MUST update the config.json file to reflect your chosen name
"type": "vector", // or raster
"url": "pmtiles://tiles.pmtiles" // or "mbtiles://tiles.mbtiles". If your tile filename has a different name instead of "tiles", then change that too.
}
},
"sprite": "sprite", // optional, only needed if your style utilizes sprites by name
"glyphs": "{fontstack}/{range}.pbf", // optional, only needed if your style utilizes fonts by name
// the rest of your style specifications
}Use a custom Tileserver
Set up a custom Hostname
Previousπ Hosting Terrastories offline as a "Field Kit"Nextπ« Hosting Terrastories on Kakawa (Earth Defenders Toolkit Offline)
Last updated