C# Gmaps按关键字设置当前位置错误
已尝试此代码:C# Gmaps按关键字设置当前位置错误,c#,gmap.net,C#,Gmap.net,已尝试此代码: private void button1_Click(object sender, EventArgs e) { GeoCoderStatusCode status = gMapControl1.SetCurrentPositionByKeywords(textBox3.Text); if (status != GeoCoderStatusCode.G_GEO_SUCCESS) { Messa
private void button1_Click(object sender, EventArgs e)
{
GeoCoderStatusCode status = gMapControl1.SetCurrentPositionByKeywords(textBox3.Text);
if (status != GeoCoderStatusCode.G_GEO_SUCCESS)
{
MessageBox.Show("Geocoder can't find: '" + textBox3.Text + "', reason: " + status.ToString(), "GMap.NET", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
else { gMapControl1.SetCurrentPositionByKeywords(textBox3.Text) };
}
我只收到消息框错误使用热版本,稳定版本不适用于.NET 4,此处: 是这一页的最后一页