Traffic API Developer's Guide

Select a Tile Size

The user wants to obtain a traffic tile for an area near Frankfurt Germany, using the [Z]/[X]/[Y] addressing scheme.

The request follows the same pattern as requests for traffic flow tile overlays, but requires the res parameter to select the tile size and/or depth to determine the required color depth.

Request

The [Z]/[X]/[Y] values are 8, 134, and 86 respectively. The resolution (size) is 512x512 pixels and the format is png32. Alternatively, you can also specify a resolution of 256x256 pixels or 128x128 pixels.

https://[1..4].traffic.maps.ls.hereapi.com/traffic/6.0/tiles/8/134/86/512/png32
?apikey={YOUR_APIKEY}
Note: This example uses a HERE API Key to authenticate your request. For information on other possible options, see https://developer.here.com/documentation/authentication. For examples of how to use the other authentication options with the Traffic API, see Authentication Examples.

Response

The image below shows the tile delivered in response to the request.

Figure 1. Resized Large Flow Tile Request 512 Pixel Flow Tile