1.4.0 • Published 3 months ago

@versatiles/server v1.4.0

Weekly downloads
-
License
Unlicense
Repository
github
Last release
3 months ago

Code Coverage GitHub Workflow Status)

VersaTiles - Server

A Node.js server for VersaTiles containers.

Install globally

npm i -g @versatiles/server

Run

versatiles-server --help

This will show you how to use the server with all options and arguments.

For example:

versatiles-server planet.versatiles

Options

$ versatiles-server
Usage: versatiles-server [options] <source>

Simple VersaTiles server

Arguments:
  source                   VersaTiles container, can be a URL or filename of a
                           "*.versatiles" file

Options:
  -b, --base-url <url>     Base URL for the server (default:
                           "http://localhost:<port>/")
  -c, --compress           Reduces traffic by recompressing data, but responses
                           take longer. Perfect if behind CDN.
  -h, --host <hostnameip>  Hostname or IP to bind the server to (default:
                           "0.0.0.0")
  -n, --no-cache           disable cache and serve static files directly from
                           disc
  -o, --open               Open map in web browser
  -p, --port <port>        Port to bind the server to (default: 8080)
  -q, --quiet              be quiet
  -s, --static <folder>    Path to a folder with static files
  -t, --tms                Use TMS tile order (flip y axis)
  -v, --verbose            be verbose
  --help                   display help for command

License

Unlicense

1.4.0

3 months ago

1.3.1

3 months ago

1.2.0

4 months ago

1.3.0

4 months ago

1.1.5

5 months ago

1.1.4

6 months ago

1.1.3

6 months ago

1.1.2

6 months ago

1.1.1

6 months ago

1.1.0

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago