AnsweredAssumed Answered

Remove previously added graphics from map 

Question asked by jaygis on Sep 19, 2016
Latest reply on Sep 19, 2016 by cgishack

Hi All, As part of my application, I add graphics to a map for a list of features that meet criteria (in cyan). User can select a single record from a list. Application logic adds another graphic for selected record (callout in red). If user click on another record, I want to remove the previously added graphics (red callout) while still maintaining my graphics for original list (in cyan). Is there way I can get handle of graphics that was last added, graphics below shows this scenario. Appreciate any feedback. Thanks Jay      

 

 

Outcomes