Hi ESRI Community.
We would like our WFS requests from the JavaScript library to use the bbox parameter, requesting just the features in the current window. Currently the request brings back all the features which for a some layers is not viable as it could mean requesting 100s of Mbytes.
We thought that the mode parameter might help but get a read-only exception when doing the following.
// create and add a WFSLayer to the map
const layer = new WFSLayer({
url: "https://geobretagne.fr/geoserver/ows", // url to your WFS endpoint
name: "fma:bvme_zhp_vs_culture", // name of the FeatureType
copyright: "GéoBretagne",
mode:1
});
map.add(layer);
Any ideas how to get around this problem?
We're using MapServer to provide the WFS service.