Traffic API Developer's Guide

Selecting a Tile Color Depth

The user wants to obtain a traffic tile, using the quadkey addressing scheme. The color depth of the tile delivered by the response is to be 8 bits.

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 quadkey value is 12020330 and the depth is 8bit.

https://[1..4].traffic.maps.ls.hereapi.com/traffic/6.0/tiles/quadkeytraffic
?apikey={YOUR_APIKEY}
&quadkey=12020330
&depth=8bit
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 response to the request that stipulates the tile color depth delivers the tile shown below.

Figure 1. Flow Tile Request as 8-bit 8-bit Flow Tile