Guidance on setting up the layer in standard web-mapping applications

By default, those subscribing to the API will be given a URL to a viewer page such as this below. This presents a zoomable viewer for the layer itself, with links to view the layer in standard popular web-mapping applications, along with the relevant source code for these viewer, and code to embed the layer in an iframe:

Opening screen of Tileserver

It is possible to choose any of the standard web-mapping viewers (the Google Maps API, Leaflet, OpenLayers, the ArcGIS API or MapBox) from the right-hand panel to display the API layer in this viewer.

This below shows an example viewer for OpenLayers 3:

Tileserver Openlayers viewer

By selecting the 'Source code' link, you can also view the specific Javascript source code for setting up the layer in any of these web-mapping viewers. If you copy this text and save it as an HTML file it will create a basic viewer for the layer.

Tileserver source code page

There are also clear examples with screengrabs on how to set up the layer inside the ArcGIS, QGIS, and uDig desktop GIS programs.

Return to previous page