Hacking a crude tile server together.
You will need docker + docker compose.
-
Download an mbtiles file containing the tiles you want to use, and save it in the repo root.
-
There is a free one available with world data here:
-
Update
tilestaches.config
with the local path to the just downloaded mbtiles, like so:
{
"cache": {"name": "Test"},
"layers": {
"world": {
"provider": {"name": "mbtiles", "tileset": "/server/<FILENAME HERE>"}
}
}
}
- Finally:
$ make build
$ make run
$ make open
Or:
Voilá.