简化Gmaps项目 [英] Simplify Gmaps project
本文介绍了简化Gmaps项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我以前使用过Google静态地图,但需要
现在使用更高级的地图.我看了一下: ^ ]
我花了一些时间试图弄清楚这个Gmap,但是并没有太大帮助.我只需要使用地址连接到google或bing地图(不是静态)即可设置
自定义标记.
请提供任何帮助!
这是我以前使用的:
Hi all,
I have used a google static maps before, but need to
use a more advanced map now. I had a look at: GMap.NET - Great Maps for Windows Forms and Presentation[^]
I took some time trying to figure out this Gmaps, but not helping much. I only need to connect to google or bing maps (not static) using addresses and be able to set
custom markers.
Please any help would be appriciated!
This is what I used before:
DataTable dt = new DataTable();
try
{
StringBuilder OpenMap = new StringBuilder();
OpenMap.Append("http://maps.googleapis.com/maps/api/staticmap?center=" + strCity + "&zoom=14&size=400x400&sensor=false");
wb_ConnectionStatus.Navigate(OpenMap.ToString());
}
catch (Exception ex)
{
MessageBox.Show(ex.Message.ToString(), "Unable To Load Web Browser");
}
推荐答案
第一个问这个问题的地方是本文的评论和讨论"部分.您还没有这样做.
The first place to ask such a question is at the "Comments and Discussions" section of the article. You haven''t done that yet.
这篇关于简化Gmaps项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文