Vector and raster maps with GL styles. Map tile server for Mapbox Android, iOS, GL JS, Leaflet, OpenLayers, GIS via WMTS, etc. Server side rendering by Mapbox GL Native.
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.
Or you can use docker run -it -v $(pwd):/data -p 8080:80 klokantech/tileserver-gl
to run the server inside a docker container.
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.
Prepared vector tiles can be downloaded from OSM2VectorTiles.
You can read full documentation of this project at http://tileserver.readthedocs.io/.