Map Tile API Developer's Guide

Traffic

The user wants to obtain a map tile displaying the current traffic conditions in a part of London.

Request for a Traffic Map Tile

In this request, traffictile specifies the response image is to contain traffic conditions.

Note: These examples use a HERE API Key to authenticate your request. For information on other possible options, see Authentication Guide. For examples of how to use the other authentication options with the Map Tile API, see Authentication Examples.
https://1.traffic.maps.ls.hereapi.com/maptile/2.1/traffictile/newest/normal.day/15/16358/10898/256/png8
?apiKey={YOUR_API_KEY}

Response to Traffic Map Tile Request

The response contains the following image.

Figure 1. Traffic tile for a Part of London

Request for a Traffic Only Tile

The code block below demonstrates a request for a traffic tile, using the flowtile resource.

https://1.traffic.maps.ls.hereapi.com/maptile/2.1/flowtile/newest/normal.day/15/16358/10898/256/png8
?apiKey={YOUR_API_KEY}

Response to Traffic Only Tile Request

The response contains the image below.

Figure 2. Transparent Traffic Tile for a Part of London

Request for a Traffic Map Tile with Minimum Traffic Congestion Level

The code block below demonstrates a complete request for a traffic map tile where no free flow is rendered.

https://1.traffic.maps.ls.hereapi.com/maptile/2.1/traffictile/newest/normal.day/14/8683/5379/256/png8
?apiKey={YOUR_API_KEY}
&min_traffic_congestion=heavy

Response to Traffic Map Tile Request with Minimum Traffic Congestion Level

The response contains the following image.

Figure 3. Traffic Tile with Minimum Traffic Congestion Level "heavy"