GuidesAPI Reference
Guides

Obtain a traffic vector tile with incidents events

To get a traffic vector tile with incidents events, use the incident layer parameter.

Request

The following example demonstrates how to get only incident events:

curl -H "Authorization: Bearer TOKEN_HERE" "https://traffic.vector.hereapi.com/v2/traffictiles/incident/mc/11/1100/673/omv"
curl "https://traffic.vector.hereapi.com/v2/traffictiles/incident/mc/11/1100/673/omv?apikey=APIKEY_HERE"

Response

The response contains traffic_incident and incident_icons layers with information about incident events for the particular tile.

The following figure illustrates an example of a rendered vector tile response with traffic_incident and incident_icons layers. Vector tile with incidents layers