The easiest way how to deploy world basemap powered by OpenStreetMap.
Download an installer for your system:
On Window open installer and follow the installation wizard.
On Linux Install with sudo dpkg -i maptiler-server-x.x.x.deb
or sudo rpm -i maptiler-server-x.x.x.rpm
Windows: Just launch installed aplication
Linux: Run directly with maptiler-server
or as system service maptiler-server-servicify
.
Put MBTiles into servers work directory and visit the web administration at http://localhost:3560/ in your browser.
How to run MapTiler Server on Linux
docker run -it -v $(pwd):/data -p 8080:80 klokantech/tileserver-gl
Read the Tileserver GL tutorial for more in-depth information.
wget https://.../zurich_switzerland.mbtiles
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 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 then rendered on demand. This makes it harder to install, so we recommend using it via Docker.
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.
Source code is available on TileServer's GitHub. Download the latest code and unpack it to directory on your LAMP/WAMP server.
Go to the Downloads page and download the vector tiles for your region or the planet. You need to copy this file into a directory with TileServer-PHP.
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.
We are providing a free reliable maps API with maps based on OpenMapTiles data. This is the quickest way how to start and play with maps. Visit maptiler.com/cloud for more information and start with a free account.
Lazy? Use our Maps API for developers with OpenMapTiles data.
OpenMapTiles.org is an open-source project from OMT community and MapTiler who provides Maps API.
See an example of use-case on the map of London.
Share this page on