mirror of
https://github.com/maptiler/tileserver-gl.git
synced 2024-09-11 03:55:27 +03:00
* chore: add undocumented options to docs, more details, small fixes Signed-off-by: Martin d'Allens <martin.dallens@liberty-rider.com> * docs: update readthedocs.io URL Signed-off-by: Martin d'Allens <martin.dallens@liberty-rider.com> --------- Signed-off-by: Martin d'Allens <martin.dallens@liberty-rider.com>
1.4 KiB
1.4 KiB
TileServer GL light
Vector maps with GL styles. Map tile server for Mapbox Android, iOS, GL JS, Leaflet, OpenLayers, etc. without server side rendering.
Quickstart
Use npm install -g tileserver-gl-light
to install the package from npm.
Then you can simply run tileserver-gl-light zurich_switzerland.mbtiles
to start the server for the given mbtiles.
See also tileserver-gl
which contains server side rendering.
Prepared vector tiles can be downloaded from OpenMapTiles.com.
Building docker image
You can build TileServer GL light image from source.
git clone https://github.com/maptiler/tileserver-gl.git
cd tileserver-gl
node publish.js --no-publish
cd light
docker build -t tileserver-gl-light .
Download from OpenMapTiles.com or create your vector tile, and run following in directory contains your *.mbtiles.
docker run --rm -it -v $(pwd):/data -p 8080:8080 tileserver-gl-light
Documentation
You can read full documentation of this project at https://maptiler-tileserver.readthedocs.io/