问题 I am trying to add a geoserver layer to arcgis javascript 4.x. Here is what I have so far: var layer1 = new WMSLayerInfo({ name: 'sf:layer01', title: 'sf:layer01' }); var resourceInfo = { extent: new Extent(275935.148501, 2038404.844184, 276182.595821, 2038680.709887, { wkid: 2236 }), layerInfos: [layer1] }; var wmsLayer = new WMSLayer('https://myserver/geoserver/sf/wms', { resourceInfo: resourceInfo, visibleLayers: ['sf:layer01'] }); map.addLayers([wmsLayer]); So far, I found out that the