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_API_KEY}
&quadkey=12020330
&depth=8bit
Note: This example uses a HERE API Key to authenticate your request. For the available authentication options, see the Identity & Access Management Developer Guide.

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