Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create a sample(s) demoing recent feature layer and JSAPI improvements in querying #439

Open
tomwayson opened this issue Aug 1, 2018 · 2 comments

Comments

@tomwayson
Copy link
Member

tomwayson commented Aug 1, 2018

@tomwayson
Copy link
Member Author

Thanks @jgravois for creating an initial bin showing how to use cedar w/ client-side LayerView queries!

https://jsbin.com/juqafec/edit?html,output

@tomwayson
Copy link
Member Author

tomwayson commented Nov 27, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant