AnsweredAssumed Answered

Clear query results?

Question asked by jdkitzmi on Aug 7, 2013
Latest reply on Aug 8, 2013 by jdkitzmi
I am using this sample: https://developers.arcgis.com/en/javascript/jssamples/query_buffer.html  and I'm doing something similar, where a user clicks the map and a buffer is drawn and points selected in that buffer. If I use map.graphics.clear(), the buffer gets cleared, but the selected points remain until you click the map again, which causes another buffer and selection. Is there a similar function I can call to get rid of the queried points? Or do I need to reload the map? I did some searching but couldn't find a solution. Thanks.

Outcomes