arcgis js 如何加载wfslayer

var featureLayer = new WFSLayer(
{url:"http://localhost:8080/geoserver/test/ows",
wkid:4326,
mode:"ondemand",
maxFeatures:50,
nsLayerName: "http://localhost:8080/geoserver/test/ows|shiqu",
version:"1.0.0"});

map.addLayer(featureLayer);
代码如上 但是浏览器一片空白 求大神解答
已邀请:

徐鸿至

赞同来自:

开发者工具 console中 报错截图看一下

要回复问题请先登录注册