本文介绍了如何获得谷歌地图上的平均流量数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Google地图上显示像这样的平均流量图层。



但是,此地图显示的是流量的实时数据,而不是我想在谷歌地图上显示某段时间内的平均流量,有可能吗?或任何其他地图api可以帮助?


解决方案

如果您查看Google地图上,有一个,您可以使用它查看有关任何流量的信息给定日期和时间。



但我认为这种典型的流量在Google Maps API中尚不可用。那么,我可以建议您做出。

$ b

有关更多信息,请查看此是否可以帮助您到你的问题。


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 some period of time on google map, is it possible? or any other maps api can help?

解决方案

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.

这篇关于如何获得谷歌地图上的平均流量数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-26 16:53