Hello All,I am working on a project where I am using a list component to add XY locations to the map. The list I am using has allowMultipleSelection="true" and also has a click event to add the selectedItem XY value to map.var myGraphicPoint:Graphic = new Graphic(new MapPoint(o.X, o.Y, new SpatialReference(3857)));
The problem I am trying to solve is the following when the user click on a selected item, the selectedItem is deselected but I am not able to remove the corresponding graphic from the map. I have tried several different things with no satisfactory results: for example, I have loop through the graphicsLayer and try to remove the graphics but it's not working. Does anybody knows how to do this or point me in the right direction. Any helps will be appreciate. Thanks