Open tomwayson opened 6 years ago
Thanks @jgravois for creating an initial bin showing how to use cedar w/ client-side LayerView queries!
In the above bin some other code (JSAPI event handlers) executes the client-side queries and then hands the features off to cedar.
It would be better if cedar could actually initiate client-side LayerView queries. One idea for how to do that would be to add a new optional layerView
property to a dataset that could be used in place of url
. If that exists, chart.query()
would call layerView.queryFeatures(query)
instead of appending the query params to the url
and fetching the features.
Examples:
HAVING
clauses: https://www.esri.com/arcgis-blog/products/arcgis-enterprise/data-management/querying-feature-services-having-clause/