Hello, I've been trying to create a sample application that uses a WFS layer from a locally hosted GeoServer but I can't figure it out how to do it.
I managed to use a WMS service with the following code:
WmsLayer { url: "http://localhost:8080/geoserver/wms"
layerNames: ["Test:tbl_furos_coordenadas_2"]
}
And I've tried this to WFS but to no avail:
FeatureLayer{ id: gtLayer
name: "Test"
WfsFeatureTable { id: gtTable
url:"http://localhost:8080/geoserver/Test/wfs"
tableName: "tbl_furos_coordenadas_2"
featureRequestMode: Enums.FeatureRequestModeManualCache
onLoadStatusChanged: { if (loadStatus !== Enums.LoadStatusLoaded)
return;
populateWfsFeatureTable();
}
}
But nothing happens. Is there something I'm missing?