mirror of
https://github.com/maptiler/tileserver-gl.git
synced 2024-09-20 08:18:48 +03:00
987 B
987 B
TileServer GL
Quickstart
Use npm install -g tileserver-gl
to install the package from npm.
Then you can simply run tileserver-gl zurich_switzerland.mbtiles
to start the server for the given mbtiles.
Alternatively, you can use tileserver-gl-light
package instead, which is pure javascript (does not have any native dependencies) and can run anywhere, but does not contain rasterization features.
Or you can use docker run -it -v $(pwd):/data -p 8080:80 klokantech/tileserver-gl
to run the server inside a docker container.
Prepared vector tiles can be downloaded from OSM2VectorTiles.
Documentation
You can read full documentation of this project at http://tileserver.readthedocs.io/.