Get started

  • OpenMapTiles Server
  • Docker
  • Node.js
  • PHP
  • Hosting

OpenMapTiles Server

The easiest way how to deploy world basemap powered by OpenStreetMap and Docker.

1. Install free Docker on your computer

Install the free Docker. It comes with graphical user interface:

Windows Mac Linux

2. Start Docker Kitematic

Launch the installed Kitematic application. Search for “openmaptiles-server” and launch the container.

3. Follow the step-by-step guide

Visit the web interface at http://localhost:8080/ and follow the web wizard. You will set your server in few steps. Supports your own data and style - additional data sources such as hillshading, contour lines, satellite, etc. See more at openmaptiles.com/server/

Docker with TileServer GL

If you need Docker microservice and advanced configuration you can use the rendering core of our server directly. To install a tileserver serving both vector and raster tiles we recommend to use the offical Docker image of tileserver-gl. By launching the docker with the command bellow, you mount the active directory with the previously downloaded MBTiles file with vector tiles and expose the tile server to a local port 8080.
docker run -it -v $(pwd):/data -p 8080:80 klokantech/tileserver-gl

Read the Tileserver GL tutorial for more in-depth information.

Node.js - TileServer GL Light

1. Download Vector Tiles

Head over to the downloads page and download the vector tiles for your region or the planet.

wget https://.../zurich_switzerland.mbtiles

2. Run a TileServer

To serve the tiles to your mobile or web client you need to choose a tileserver for your platform and configure it to serve the previously downloaded vector tiles.

Using tileserver-gl you can immediately serve vector tiles including a web viewer and sample styles.
The light version tileserver-gl-light can be easily installed using npm.

npm install -g tileserver-gl-light

Now run tileserver-gl-light together with the previously downloaded vector tiles

tileserver-gl-light zurich_switzerland.mbtiles

Open in your web browser the local address http://localhost:8080.

Read the Tileserver GL tutorial for more in-depth information.

The full version of tileserver-gl has the capabilities to fall back to serve raster tiles for interoperability with other clients. The raster tiles are rendered on demand. This makes it harder to install, so we recommend usage of docker.

3. Choose a Style

Once you have your own vector tile server running you can choose one of the many styles supporting the OpenMapTiles schema.

After you downloaded the style, point the endpoint URL to your tileserver and embedd it in a mobile app or web viewer. You can also create your own styles using Maputnik.

TileServer PHP

1. Download Vector Tiles

Head over to the downloads page and download the vector tiles for your region or the planet.

2. Download TileServer PHP

Source code is available on TileServer's GitHub. Download the latest release and unpack it to the same directory as is MBTiles on your LAMP/WAMP server.

3. Add static assets

Create your own HTML viewer with MapBox GL JS and link TileJSON from TileServer with links to PBF tiles. For more details see TileServer PHP tutorial.

TileHosting

We are providing a free reliable hosting for OpenMapTiles data. This is the quickest way how to start and play with maps. Visit TileHosting.com for more information and get free access.

Visit TileHosting.com

Lazy? Use our hosting with OpenMapTiles data.

K

OpenMapTiles.org is an open-source project from Klokan Technologies GmbH and OSM community
Share this page on