Vector and raster maps with GL styles. Server side rendering by MapLibre GL Native. Map tile server for MapLibre GL JS, Android, iOS, Leaflet, OpenLayers, GIS via WMTS, etc.
Find a file
luzik 9cd6feb56d
new mapbox-gl-native version
According to https://github.com/mapbox/mapbox-gl-native/blob/master/platform/node/CHANGELOG.md there is no broken features.
Previous version is not buildable now.

> @mapbox/mapbox-gl-native@3.5.4 install /home/ubuntu/maps/node_modules/@mapbox/mapbox-gl-native
> node-pre-gyp install --fallback-to-build=false || make node
```
node-pre-gyp ERR! install error 
node-pre-gyp ERR! stack Error: 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/@mapbox/mapbox-gl-native/v3.5.4/node-v57-linux-x64-Release.tar.gz
```
2018-12-17 15:52:05 +01:00
docs Add support for WMTS capabilites 2018-08-21 19:33:37 +02:00
public Add key to WMTS xml 2018-09-13 17:58:13 +02:00
src Merge pull request #307 from spatialillusions/master 2018-09-14 08:03:59 +02:00
test Update dependencies 2018-09-14 08:14:28 +02:00
.dockerignore Slightly stricter .dockerignore 2017-01-13 11:03:12 +01:00
.gitignore Experimental integration of first plugin 2016-12-06 20:11:18 +01:00
.travis.yml Add some packages to travis and Dockerfile 2017-06-23 21:34:59 +02:00
Dockerfile Addresses issue #197, send SIGTERM through to node 2017-11-30 12:30:40 +00:00
Dockerfile_light Reorganize Dockerfile instructions for faster rebuilds 2017-09-20 08:03:46 +02:00
ISSUE_TEMPLATE.md Update ISSUE_TEMPLATE.md 2018-01-23 12:17:14 +01:00
LICENSE.md Create LICENSE.md 2016-06-05 16:44:27 +02:00
package.json new mapbox-gl-native version 2018-12-17 15:52:05 +01:00
publish.js Remove node-pngquant-native dependency 2017-09-15 17:06:42 +02:00
PUBLISHING.md Add PUBLISHING.md 2016-08-24 14:20:16 +02:00
README.md Update README.md 2018-02-19 15:49:08 +01:00
README_light.md Update READMEs and descriptions 2016-08-25 12:52:32 +02:00
run.sh Ensure that container can be restarted 2018-09-10 10:31:58 +02:00

tileserver-gl

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 6 installed (running node -v it should output something like v6.11.3).

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 klokantech/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.

Documentation

You can read full documentation of this project at http://tileserver.readthedocs.io/.