Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get average traffic data on google map

I want to show average traffic layer on google map like this.

example snippet

But, this map shows the real time data of traffic, instead i want to show average traffic over some period of time on google map, is it possible? or any other maps api can help?

Please star this issue issue tracker link to vote and get update for this feature.

like image 855
Vikramaditya Avatar asked Sep 14 '16 12:09

Vikramaditya


People also ask

Can I see usual traffic on Google Maps?

At the bottom, tap Directions. At the bottom, tap the white bar to display: The current traffic on your route. Typical traffic by the hour and any slowdowns on the way.

Is Google traffic data free?

FYI Google traffic data API now available for free users.

How can I get historical traffic data?

If you want to see general traffic information, you can use the traffic overlay feature in your Google Maps app. We then combine this database with historical traffic patterns with live traffic conditions and use machine learning to generate predictions based on both data sets.


1 Answers

If you check the Google Maps documentation, the only information that you can find here about traffic is the Traffic Layer. But this traffic layer add a real-time traffic information(if supported) in your maps. But on the Google Maps website, there is a typical traffic that you can use to see the information about traffic in any given day and time.

But I think this typical traffic is not yet available in Google Maps API. So what can I suggest you is to make a feature request about this information.

For more information, check this SO question if it can help you to your problem.

like image 93
KENdi Avatar answered Sep 30 '22 20:09

KENdi