How to get average traffic data on google map

前端 未结 1 724
你的背包
你的背包 2021-02-14 11:00

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

But, this map shows the real time data of traffic, instead i want to show average traffic over som

1条回答
  •  清酒与你
    2021-02-14 12:00

    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.

    0 讨论(0)
提交回复
热议问题