Go语言版的mbtileserver
地址:https://github.com/consbio/mbtileserver
安装前先安装go语言,确保具有gcc
安装:
go get github.com/consbio/mbtileserver
使用方法
$ mbtileserver --help
Serve tiles from mbtiles files.
Usage:
mbtileserver [flags]
Flags:
-c, --cert string X.509 TLS certificate filename. If present, will be used to enable SSL on the server.
-d, --dir string Directory containing mbtiles files. (default "./tilesets")
--domain string Domain name of this server
--dsn string Sentry DSN
-h, --help help for mbtileserver
-k, --key string TLS private key
--path string URL root path of this server (if behind a proxy)
-p, --port int Server port. (default 8000)
-s, --secret-key string Shared secret key use