arcgis for js 4.9 调用WMS出现服务超时

var wmsLayer = new WMSLayer({
url:url1,
sublayers:[
{
name:"CGCS2000"
}
],
spatialReferences:[4490],
imageFormat:"image/jpeg"
})
 
url:url1 是wms的地址
name:"CGCS2000" 是图层名
https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html#imageFormat
https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-WMSSublayer.html
这上面例子似乎不完整,能否提供详细例子,谢谢!
 
已邀请:

defineconst

赞同来自:

QQ截图20190415111101.jpg


QQ截图20190415111224.jpg

谢谢!

小邪

赞同来自:

同问,楼主搞好没

要回复问题请先登录注册