Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: Obtaining map data through a proxy server with authentication (class "Tiles")

$
0
0
Hi All,

Just to give my update on this as I hit the same problem.

I have tried quite a few things in my C# clinet but cannot get the tiles work through my company`s proxy.
            axMap1.TileProvider = MapWinGIS.tkTileProvider.OpenStreetMap;
            axMap1.GrabProjectionFromData = true;
            axMap1.Tiles.ProxyAuthenticationScheme = MapWinGIS.tkProxyAuthentication.asNtlm;
            axMap1.Tiles.AutodetectProxy();
            Console.WriteLine(AxMap.Tiles.Proxy);
            axMap1.Tiles.SetProxy("http://PROXY.ABC.com", 8080);
            axMap1.Tiles.SetProxyAuthentication("XXXX", "******", "XXX");
            Console.WriteLine(AxMap.Tiles.Proxy);
I tuned on Fiddler, nothing happend. The same application works at my home.

If anyone has managed to get map tiles working through a proxy, could you please shed some lights?

thanks very much!
Yong

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>