1
試圖使用C#的winform中使用GMAP.NET,當我設置地圖屬性爲 GoogleSatelliteMapProvider它給出了一個錯誤。 異常:遠程服務器返回錯誤:(404)未找到。GMAP.Net Google衛星地圖在C#中的錯誤?
我正在使用最新的GMAP.Net版本。 1.7.0.0
下面請找到代碼。
private void Form1_Load(object sender, EventArgs e)
{
gmap.MapProvider = GMap.NET.MapProviders.GoogleSatelliteMapProvider.Instance;
GMap.NET.GMaps.Instance.Mode = GMap.NET.AccessMode.ServerAndCache;
gmap.SetPositionByKeywords("Country_Name");
gmap.Position = new GMap.NET.PointLatLng(22.63, 71.58);
gmap.Zoom = 5;
gmap.MaxZoom = 18;
gmap.MinZoom = 2;
gmap.Bearing = 0;
gmap.CanDragMap = true;
}
是的,這張地圖提供者似乎沒有工作,你可能想在項目的[問題頁面](https://greatmaps.codeplex.com/workitem/list/basic)上解決這個問題。 – rdoubleui
當然,我會......謝謝 – Masam