cargo install --path .
Use -h
or --help
to get description of all available options:
Usage: freemap-tileserver [OPTIONS] --source <SOURCE>
Options:
-l, --listen-address <LISTEN_ADDRESS>
Address to listen on [default: 127.0.0.1:3003]
-s, --source <SOURCE>
Source file, can be specified multiple times (order matters)
-h, --help
Print help
-V, --version
Print version
Generate sources with freemap-tiler
.
URL uses slippy map schema `/{zoom}/{x}/{y}[.jpg]
Query parameters:
bg=RRGGBB
- Background color. Default is white.fallback_missing
- Fallback missing tile to empty tile of background color. Default is to return 404.upscale