Obtain a traffic vector tile with flow events

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

The following example demonstrates a traffic tile request for getting only traffic vector tiles with flow events.

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

The response will contain only a traffic_flow layer with information about traffic flows for the particular tile.

The following figure illustrates an example of a rendered vector tile response with a traffic_flow layer.

Vector tile with flow layer
Figure 1. Vector tile with flow layer

results matching ""

    No results matching ""