使用GMap.NET显示流量 [英] Displaying traffic using GMap.NET

查看:89
本文介绍了使用GMap.NET显示流量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用GMap.NET在Windows窗体应用程序中呈现Google Map,并且工作正常.现在,我想在地图上显示路况信息.在GMap.NET中有什么方法可以做到这一点?

I'm using GMap.NET to render Google Map in my Windows Form application and It works fine. Now I would like to show the traffic information on the map. Is there any way to do that in GMap.NET?

推荐答案

在最新版本1.9.2中,只需在使用控件之前指定它即可.

In the last version, 1.9.2, simply specify this before use control.

GoogleMapProvider.Instance.Version = "m,traffic@336000000";

这篇关于使用GMap.NET显示流量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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