skyline 加载wms图层的脚本方法
关键是在wms的路径设置
 
function LoadImageLayer() {
//wms的网络路径
var wmsStr = "[INFO]\r\nMPP=0.000017578125\r\nUrl=http://localhost/arcgis/services/tee/MapServer/WMSServer?request=GetMap&Version=1.1.1&Service=WMS&SRS=EPSG:4326&BBOX=-180,-90,180,90&HEIGHT=128&WIDTH=256&Layers=0&Styles=default&Format=p_w_picpath/png";
SGWorld.Creator.CreateImageryLayer("wms", -180, 90, 180, -90, "<EXT><ExtInfo><![CDATA[" + wmsStr + "]]></ExtInfo><ExtType>wms</ExtType></EXT>", "gisplg.rct", 0, "ddd");
}