簡體   English   中英

GMap.NET Satellitemap提供程序錯誤

[英]GMap.NET Satellitemap providers error

我在winforms應用程序中使用GMap.NET,但是當我使用Googlesatellite地圖提供程序時出現錯誤, 異常:遠程服務器返回錯誤:(404)未找到 ,其他地圖提供程序工作正常,只是“ GoogleSatelliteMapProvider”出現問題,

這是我的代碼

With gmaps
        .Position = New PointLatLng(22.63, 71.58)
        .MinZoom = 3
        .MaxZoom = 17
        .Zoom = 8
        .Manager.Mode = AccessMode.ServerAndCache
        .CanDragMap = True
        GMap.NET.MapProviders.GoogleSatelliteMapProvider.Instance.APIKey = "MyApiKey"
        .MapProvider = GMap.NET.MapProviders.GoogleMapProvider.Instance
        .DragButton = Windows.Forms.MouseButtons.Left
        .MouseWheelZoomType = GMap.NET.MouseWheelZoomType.MousePositionAndCenter
End With

也許您使用的是舊版本,請嘗試新版本。 轉到此處獲取新版本的Greatmap版本

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM