2016-08-25 13:52:32 +03:00
# TileServer GL light
2019-12-30 13:56:53 +03:00
[![Build Status ](https://travis-ci.org/maptiler/tileserver-gl.svg?branch=master )](https://travis-ci.org/maptiler/tileserver-gl)
2020-03-11 15:57:45 +03:00
[![Docker Hub ](https://img.shields.io/badge/docker-hub-blue.svg )](https://hub.docker.com/r/maptiler/tileserver-gl/)
2016-08-25 13:52:32 +03:00
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.
2020-02-18 02:03:52 +03:00
Prepared vector tiles can be downloaded from [OpenMapTiles.com ](https://openmaptiles.com/downloads/planet/ ).
## 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 ](https://openmaptiles.com/downloads/planet/ ) or [create ](https://github.com/openmaptiles/openmaptiles ) your vector tile, and run following in directory contains your *.mbtiles.
```
2023-11-22 18:35:14 +03:00
docker run --rm -it -v $(pwd):/data -p 8080:8080 tileserver-gl-light
2020-02-18 02:03:52 +03:00
```
2016-08-25 13:52:32 +03:00
## Documentation
2023-11-22 18:35:14 +03:00
You can read full documentation of this project at https://maptiler-tileserver.readthedocs.io/