based on the modified esri example for clustering points I found on GitHub at
I'm trying to figure out how to update the map when the query changes.
For example, I have a map that shows all 2016 traffic accidents. Everything works fine, points are clustering, etc.. The user should have the option to show only non-injury accidents with the click of a checkbox or button. The query works, but the map still displays all points, regardless of the used (changed) query.
I can't figure out how to redraw/re-create the clusterfeaturelayer and show only non-injury accidents.
Thanks for your help!!