Tile server to serve maps completely offline (or self-host)
- Clone this repo
- Follow the steps to create your
pmtilesfile namedYOUR_ARCHIVE.pmtileshttps://docs.protomaps.com/guide/getting-started and copy to this directory - Build the Dockerfile
docker build -t offline-tiles . - Start the server
docker run -v $(pwd):/data -p 8080:8080 offline-tiles - Make a request https://localhost:8080/tiles/YOUR_ARCHIVE/0/0/0.mvt