In my application, I have a CSVLayer that displays fine. I also have a master clone of it's graphics array. I filter that array based on user selected options based on the graphics attributes, and then set the CSVLayer.graphics property to that array.
csvLayer.graphics = filteredArray; csvLayer.redraw();
However, the CSVLayer continues to show all of the original graphics. How can I properly filter the graphics of the CSVLayer and have it redraw?
edit: i also tried
csvLayer.remove(oldGraphic); csvLayer.add(newGraphic); csvLayer.redraw();
to no avail.