How to get average traffic data on google map
<p>I want to show average traffic layer on google map like this.</p>

<p><a href="https://i.stack.imgur.com/4rieu.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4rieu.png" alt="example snippet"></a></p>

<p>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?</p>

<blockquote>
  <p>Please star this issue <a href="https://issuetracker.google.com/issues/35829567" rel="noreferrer">issue tracker link</a> to vote and get update for this feature.</p>
</blockquote>