Map tiles API

Tiles are not available by default or with the free API key. To gain authentification please contact us at sales@traveltime.com.

To authenticate with the tiles server, include key GET parameter with each request. The value of the parameter must be Application Id that is given upon signing up.

Access URL

Our tiles service supports raster tiles which can be accessed by adding tiles server URL to your project. URL that should be used depends on the style and type of tiles that should be used.

Raster

https://tiles.traveltime.com/STYLE_IDENTIFIER/{z}/{x}/{y}.png?key=YOUR_APP_ID

Attribution

Copyright requires attribution information to be a added to the map window, correct attribution to be used with our tiles is:

Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> | Created with <a href="http://traveltime.com" target="_blank">TravelTime API</a>

Layer parameters

  • Max Zoom: Tiles can be zoomed up to level 18. It is important to add this parameter to chosen slippy map library as it might throw errors otherwise.
  • Tile size: By default these tiles are bigger than usually expected ones. Tile size should be set to 512. Not setting this parameter will result into barely readable street and other point of interest names. If you change this parameter on Leaflet, you might also need to add zoomOffset: -1 layer parameter.

Styles

Lux
Lux
identifier: lux
URL: https://tiles.traveltime.com/lux/{z}/{x}/{y}.png?key=YOUR_APPN_ID

Guide on how to use the these tiles with Leaflet is available here.