A trimmed down fork of tileserver-gl for serving MBTiles and predefined Mapbox GL styles. Built to support serving vectortiles from OSM2VectorTiles.
Install tileserver-gl-light
from npm.
npm install -g tileserver-gl-light
Now download vector tiles from OSM2VectorTiles.
curl -o zurich_switzerland.mbtiles https://osm2vectortiles-downloads.os.zhdk.cloud.switch.ch/v2.0/extracts/zurich_switzerland.mbtiles
Start tileserver-gl-light
with the downloaded vector tiles.
tileserver-gl-light zurich_switzerland.mbtiles
This trimmed tileserver is merely for demonstration purposes. We recommend tileserver-gl for production usage.
These styles are derived from https://github.com/mapbox/mapbox-gl-styles therefore Mapbox Open Styles are copyright (c) 2014, Mapbox, all rights reserved.