Note: This project started as a partial implementation of the API and features provided by mbtileserver written in Go by Brendan Ward. It might diverge from that project in the future.
Tested with rust 1.41
A simple Rust-based server for map tiles stored in mbtiles format.
Run mbtileserver --help
for a list and description of the available flags:
``` mbtileserver 0.1.5 A simple mbtile server
USAGE: mbtileserver [FLAGS] [OPTIONS]
FLAGS: --disable-preview Disable preview map -h, --help Prints help information -V, --version Prints version information
OPTIONS:
--allowed-hosts
Run mbtileserver
to start serving the mbtiles in a given folder. The default folder is ./tiles
and you can change it with -d
flag.
The server starts on port 3000 by default. You can use a different port via -p
flag.
| Endpoint | Description |
|-------------------------------------------------------------|--------------------------------------------------------------------------------|
| /services | lists all discovered and valid mbtiles in the tiles directory |
| /services/
You can test this project by running docker-compose up
. It starts a server on port 3000 and serves the tilesets in ./tiles
directory.