如何获得谷歌地图上的平均流量数据 [英] How to get average traffic data on google map

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

问题描述

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



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


请为此问题添加星标问题跟踪链接投票并获得此功能的更新



解决方案

如果您查看Google地图文档

a>,您可以在此处找到有关流量的唯一信息是流量图层。但是,此流量图层会在您的地图中添加实时交通信息(如果支持)。但在 Google地图网站上,有一个典型流量,您可以使用它查看有关任何流量的信息给定日期和时间。



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

$ b

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


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?

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

解决方案

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.

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆