tileserver-gl-light

WebJar for tileserver-gl-light

License

License

BSD 2-Clause
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

tileserver-gl-light
Last Version

Last Version

1.7.0
Release Date

Release Date

Type

Type

jar
Description

Description

tileserver-gl-light
WebJar for tileserver-gl-light
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/klokantech/tileserver-gl

Download tileserver-gl-light

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/tileserver-gl-light/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>tileserver-gl-light</artifactId>
    <version>1.7.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/tileserver-gl-light/
implementation 'org.webjars.npm:tileserver-gl-light:1.7.0'
// https://jarcasting.com/artifacts/org.webjars.npm/tileserver-gl-light/
implementation ("org.webjars.npm:tileserver-gl-light:1.7.0")
'org.webjars.npm:tileserver-gl-light:jar:1.7.0'
<dependency org="org.webjars.npm" name="tileserver-gl-light" rev="1.7.0">
  <artifact name="tileserver-gl-light" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='tileserver-gl-light', version='1.7.0')
)
libraryDependencies += "org.webjars.npm" % "tileserver-gl-light" % "1.7.0"
[org.webjars.npm/tileserver-gl-light "1.7.0"]

Dependencies

compile (18)

Group / Artifact Type Version
org.webjars.npm : handlebars jar 4.0.8
org.webjars.npm : request jar 2.81.0
org.webjars.npm : advanced-pool jar 0.3.2
org.webjars.npm : pbf jar 3.0.5
org.webjars.npm » mbtiles jar 0.9.0
org.webjars.npm : base64url jar 2.0.0
org.webjars.npm : proj4 jar 2.4.3
org.webjars.npm : http-shutdown jar [1.2.0,2)
org.webjars.npm : mapbox__sphericalmercator jar 1.0.5
org.webjars.npm : color jar 1.0.3
org.webjars.npm : vector-tile jar 1.3.0
org.webjars.npm : cors jar 2.8.3
org.webjars.npm : morgan jar 1.8.1
org.webjars.npm » tileserver-gl-styles jar 1.1.1
org.webjars.npm : clone jar 2.1.1
org.webjars.npm : nomnom jar 1.8.1
org.webjars.npm : express jar 4.15.2
org.webjars.npm » glyph-pbf-composite jar 0.0.2

Project Modules

There are no modules declared in this project.

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 10 installed (running node -v it should output something like v10.17.0).

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 maptiler/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 https://tileserver.readthedocs.io/.

org.webjars.npm

Klokan Technologies GmbH

Versions

Version
1.7.0