Quantcast
Channel: maps for developers - Medium
Viewing all articles
Browse latest Browse all 2230

Manhattan live traffic in Unity

$
0
0

Sunday night around Central Park, camera angle looking slightly south-west
By: Baran Kahyaoglu

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.

Baran Kahyaoglu


Manhattan live traffic in Unity was originally published in Points of interest on Medium, where people are continuing the conversation by highlighting and responding to this story.


Viewing all articles
Browse latest Browse all 2230

Trending Articles