You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Petr Sloup 8680a8006a
Merge pull request #516 from zstadler/patch-1
2 months ago
docs Document configuration reloading when using docker 8 months ago
public Fix missing ScaleDenominator in wmts.tmpl 12 months ago
src Merge pull request #484 from candux/addKeyToSprites 11 months ago
test Fix tests 2 years ago
.dockerignore Use simplified entrypoint script 10 months ago
.gitignore Experimental integration of first plugin 5 years ago
.travis.yml Update travis to node 10 2 years ago
Dockerfile Fix the docker image port to fix backward compatibility (#502) 9 months ago
Dockerfile_light Use chokidar instead of node-watch to poll the files (required for docker) 2 years ago
Dockerfile_test Update repo links, footnote, etc. (klokantech->maptiler) 2 years ago Update 4 years ago Create 5 years ago Add 5 years ago Replace last references to the old repository/dockerhub 2 years ago Replace last references to the old repository/dockerhub 2 years ago Gracefully handle signals from Docker or terminal 10 months ago
package.json v3.1.1 9 months ago
publish.js add option to pass npm publish 2 years ago Resolve 2 years ago


TileServer GL

Build Status Docker Hub

Vector and raster maps with GL styles. Server side rendering by Mapbox GL Native. Map tile server for Mapbox GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.

Get Started

Make sure you have Node.js version 10 installed (running node -v it should output something like v10.17.0).

Install tileserver-gl with server-side raster rendering of vector tiles with npm

npm install -g tileserver-gl

Now download vector tiles from OpenMapTiles.

curl -o zurich_switzerland.mbtiles https://[GET-YOUR-LINK]/extracts/zurich_switzerland.mbtiles

Start tileserver-gl with the downloaded vector tiles.

tileserver-gl zurich_switzerland.mbtiles

Alternatively, you can use the tileserver-gl-light package instead, which is pure javascript (does not have any native dependencies) and can run anywhere, but does not contain rasterization on the server side made with MapBox GL Native.

Using Docker

An alternative to npm to start the packed software easier is to install Docker on your computer and then run in the directory with the downloaded MBTiles the command:

docker run --rm -it -v $(pwd):/data -p 8080:80 maptiler/tileserver-gl

This will download and start a ready to use container on your computer and the maps are going to be available in webbrowser on localhost:8080.

On laptop you can use Docker Kitematic and search "tileserver-gl" and run it, then drop in the 'data' folder the MBTiles.


You can read full documentation of this project at