hello, we are trying to load Geoserver WMS link to AGSMapView. We are using AGSWMSlayer class but after loading the map is just navigating to that extent and not able to see the layer on the map. Could you please help me in this case?
code: -
let wmsServiceURL = URL(string:"https://mt-geospatial.com/geoserver/gissom_cp_test/wms")!
let wmsLayer = AGSWMSLayer(url: wmsServiceURL, layerNames: ["assets_cp_test"])
mapView.map?.operationalLayers.add(wmsLayer)
wmsLayer.load{ error in
if wmsLayer.loadStatus == .loaded{
self.mapView.setViewpointGeometry(wmsLayer.fullExtent!)
}