Obtain a traffic vector tile with incidents events

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

The following example demonstrates how to get only incident events:

{% codetabs name="Bearer token", type="bash" -%}
curl -H "Authorization: Bearer TOKEN_HERE" "{{book.traffic.baseUrl}}{{book.traffic.examplePathIncident}}"
{%- language name="| Apikey", type="bash" -%}
curl "{{book.standard.baseUrl}}{{book.standard.examplePathIncident}}?apikey=APIKEY_HERE"
{%- endcodetabs %}

The response will contain 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
Figure 1. Vector tile with incidents layers

results matching ""

    No results matching ""