skyline加载wfs,wms服务参考

来源:互联网 发布:java 读取本地zip文件 编辑:程序博客网 时间:2024/05/01 19:04
TEPro6.1 通过开发接口加载WFS和WMS图层的实现方法加载WFS:ILayer61 pILayer = sgworld.Creator.CreateFeatureLayer("图层名称", "Server=http://SKYZH/SFS/streamer.ashx;User=admin;WFSVersion=1.0.0;LayerName=rd;TEPlugName=WFS;", 0);         pILayer.Load();加载WMS:string wmsStr = @"MPP=0.17578125                           Url=http://www.atlas.gc.ca/cgi-bin/atlaswms_en?request=GetMap&Version=1.1.1&Service=WMS&SRS=EPSG:4326&BBOX=-180,-90,180,90&HEIGHT=128&WIDTH=256&Layers=wld_riv&Styles=default&Format=image/png";         sgworld.Creator.CreateImageryLayer("wms", -180, 90, 180, -90, "<EXT><ExtInfo><!]></ExtInfo><ExtType>wms</ExtType></EXT>", "gisplg.rct", 0, "图层名称");


0 0
原创粉丝点击