Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Traffic Data Mismatch Between Mapbox Traffic Tiles and Directions API Annotations

Aperta
#1,993 8 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@brnkhy ci sta già lavorando.

Dal 30/6/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

We are currently using the Directions API with traffic annotations and rendering routes in our Unity application. We have observed a discrepancy between the traffic information displayed in the Mapbox traffic-enabled map style (e.g., navigation-night-v1) and the traffic data returned by the Directions API.

The traffic visualization shown on the map tiles contains significantly more congestion information (orange/red segments) than what is available in the API response. In the Directions API annotations, we are primarily receiving low and moderate congestion levels, a few heavy congestion segments, and a large number of segments marked as unknown.

As a result, when we plot traffic overlays based on the API response, the rendered traffic does not match the traffic visualization visible in the Mapbox tiles.

Could you clarify:

  1. Why is there a difference between the traffic data displayed in the Mapbox traffic tiles and the traffic information returned by the Directions API?
  2. Are the traffic tiles and Directions API using different traffic data sources or update frequencies?
  3. Why are many route segments returned as unknown congestion in the API while traffic is visibly displayed on the map tiles?
  4. Is there a way to access the same traffic data used by the Mapbox traffic tiles so that we can render traffic overlays that match the visualized traffic on the map?
  5. Are there any configuration options, API parameters, or products that provide more detailed traffic congestion information than what is currently returned in the Directions API annotations?

Any guidance on how to achieve consistency between the traffic shown on the map and the traffic returned by the API would be greatly appreciated.

Lingua principale
C#
Stelle
784
Fork
231
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mapbox/mapbox-unity-sdk

Tutte le issue di mapbox/mapbox-unity-sdk

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.