mirror of
https://github.com/maptiler/tileserver-gl.git
synced 2024-09-20 08:18:48 +03:00
Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.
dockergl-stylesmapbox-gl-jsmaplibre-gl-jsopenmaptilesraster-maptileservertileserver-glvector-tileswmts
docs | ||
public | ||
src | ||
test | ||
.dockerignore | ||
.gitignore | ||
.travis.yml | ||
Dockerfile | ||
LICENSE.md | ||
package.json | ||
publish.js | ||
PUBLISHING.md | ||
README.md | ||
run.sh |
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/.