Hi,
I've inherited an app that currently supports all Esri layer types, but mainly is just using MapLayer / TileLayer / FeatureLayer (kind of).
The feature layer is actually being loaded as a MapLayer, and then the FeatureLayer is being queried in a standalone window that can push a geometry to the Map for highlighting. I believe this was done because large sets of features take a long time to render?
Anyway, I am trying to do the same thing with WFS/WMS layers. I can get the WMS layer loaded to the map, but my issue is that when I am trying to load my "attribute table" using WFS, it is always pulling the entire layer down, then filtering it based on my parameters after it has all been pulled down.
I have been seeing places where there is supposedly a SNAPSHOT / ONDEMAND mode, and I feel like ONDEMAND is what I am actually wanting to do, but I don't see a way to do this with a WFSLayer.
Currently, I load the layer with count:0, then try to query it and it pulls it all down, then filters it.
Open to any recommendations / suggestions.