[英]GMap.NET Satellitemap providers error
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", 我在winforms应用程序中使用GMap.NET,但是当我使用Googlesatellite地图提供程序时出现错误, 异常:远程服务器返回错误:(404)未找到 ,其他地图提供程序工作正常,只是“ 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
转到此处获取新版本的Greatmap版本
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.