JSPM

@gluedigital/tileserver-gl-light

4.4.0-xss-fix-4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q45266F
  • License BSD-2-Clause

Map tile server for JSON GL styles - serving vector tiles

Package Exports

  • @gluedigital/tileserver-gl-light
  • @gluedigital/tileserver-gl-light/src/main.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gluedigital/tileserver-gl-light) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

TileServer GL light

Build Status Docker Hub

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 8000:80 tileserver-gl-light

Documentation

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