如何在Windows Phone 7上显示路况信息?
我正在尝试在 WP7 中创建一个简单的应用程序,它将使用 Bing 地图控件显示交通信息。我试图在谷歌上找到一些信息但没有成功。
据我所知,bing id 提供地理编码、图像、路线和搜索服务,但其中没有一个可以完成这项工作。
可以获取路况信息吗?
谢谢指教
I am trying to create a simple app in WP7 which will show traffic information using Bing Map control. I have tried to find some information on google without success.
As I know bing id giving Geocode, Imagery, Route and Search services, non of which can do this work.
Is it possible to get traffic information?
Thanks in advice
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,没有 Bing 地图服务来检索或显示交通信息。
路由服务将为流量使用情况生成最佳路由统计(基于提供的 TrafficUsage 属性 - http://msdn.microsoft.com/en-us/library/cc980851.aspx),但它不会以任何形式公开流量数据
有很多提供商确实提供流量信息。例如,在英国,公路局提供 RSS 源,您可以订阅这些源,并在 Bing 地图中创建 shapelayer 来显示各种事件等。 - http://www.highways.gov.uk/traffic/17629.aspx
如果您想在商业应用程序中使用交通信息,您应该期望必须为此付出代价。
No, there is no Bing Maps service to retrieve or display traffic information.
The Route service will generate an optimal route accounting for traffic usage (based on the supplied TrafficUsage property - http://msdn.microsoft.com/en-us/library/cc980851.aspx) but it does not expose the traffic data in any form
There are plenty of providers that do provide traffic information. In the UK, for example, the Highways Agency provide RSS feeds that you can subscribe to and create a shapelayer in Bing Maps to show various incidents etc. - http://www.highways.gov.uk/traffic/17629.aspx
If you want to use traffic information in a commercial app you should expect to have to pay for it.