Notifications
Article
Manhattan live traffic in Unity
Published 7 months ago
116
0
Sunday night around Central Park, camera angle looking slightly south-west
You can stream traffic into maps in Unity using our Maps SDK for Unity. Traffic data works just like adding other maps, and you can query the maps for a particular location to get road congestion values. With each query, you’ll get the live traffic data. Then it’s all up to you to visualize it in any way you want.
In the demo below, you can see Central Park traffic, with UV animations and colors corresponding to the congestion values:
Change animation speed, light density, or even create 3D car models for whatever representation fits your project best.
Building something with our Maps SDK for Unity? Hit us up on Twitter or Instagram and use the hashtag #BuiltWithMapbox.

Tags:
Mapbox
2
Comments