Apr 16, 2008 at 2:11 PM
Hi i have tried the HOWTO abuot adding SMW layer and i get a on
"SharpMap.Layers.WmsLayer myLayer = new SharpMap.Layers.WmsLayer("Demis WMS", wmsUrl,t);"
and now i wondering if it is possible to get maps from http://www2.demis.nl/mapserver/request.asp ? or is it just a example?
I tryed with my own SMW server to add instead of http://www2.demis.nl/mapserver/request.asp but with same resoults.
any sugestions what im doing wrong ?
I'm using sharpmap v0.9
Apr 16, 2008 at 4:10 PM
Yes, it should just work properly

You should be able to run the demis samples in both DemoWebSite and WinFormSamples
Apr 16, 2008 at 6:16 PM
Is your webserver behind a proxy?
If yes, you must add
System.Net.WebProxy proxyObject = new System.Net.WebProxy("", 80);
myLayer.Proxy = proxyObject;