GMap.NET shows no map

后端 未结 4 433
借酒劲吻你
借酒劲吻你 2021-01-03 07:25

I\'m trying to use the GMap.NET.WindowsForms control in my Windows forms application but I cannot make it show me any map.

Here is what I did:

I added the co

相关标签:
4条回答
  • 2021-01-03 07:34

    In version 1.7.0 of GMap.NET the satellite view is not working, you should download the lastest version from here:

    https://www.nuget.org/packages/GMap.NET.Presentation/

    with that you can use the satellite view.

    If you can see the satellite view in your environmet it's because you have the map in the cache but you will can not see some places. With the new version, you will download the map from the server and you will see it well.

    0 讨论(0)
  • 2021-01-03 07:37

    try setting the instance mode to server only

    GMap.NET.GMaps.Instance.Mode = GMap.NET.AccessMode.ServerOnly

    0 讨论(0)
  • 2021-01-03 07:38

    Your zoom level looks too high.
    The zoom should be between 1 and 17.

    0 讨论(0)
  • 2021-01-03 07:56

    You could use following statements before using gmap Control.

    GMapProvider.WebProxy = WebRequest.GetSystemWebProxy();
    GMapProvider.WebProxy.Credentials = CredentialCache.DefaultNetworkCredentials;
    
    0 讨论(0)
提交回复
热议问题