문제

I'm using GMap.NET in winforms application But when i use Googlesatellite map provider it gives an error ,Exception :The remote Server returned in error:(404) Not found, Other map providers works fine just problem with "GoogleSatelliteMapProvider",

Heres my code

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
도움이 되었습니까?

해결책

Perhaps You are using old version try new version . . . Go here and get new version Greatmap Release

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top