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

New Post: WMS add layer

$
0
0
Hi i´ve been trying to load a layer from the wms example server from the documentation. I´m able to load it on quantum gis but not in mapwingis.
The problem if not loading a wms layer is for all the wms servers?.
The code i´m using is275:

WmsLayerClass myLayer = new WmsLayerClass();
        myLayer.BaseUrl = "http://demo.lizardtech.com/lizardtech/iserv/ows";
        myLayer.Layers = "MODIS";
        myLayer.Epsg = 4326;
        myLayer.Styles = "";
        myLayer.Format = "png";
        myLayer.Version = tkWmsVersion.wv111;
        int a=axMap1.AddLayer(myLayer, true);
        axMap1.ZoomToTileLevel(0);
        axMap1.Redraw();

Viewing all articles
Browse latest Browse all 2341

Trending Articles



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