Select to view content in your preferred language

Delete individual graphic from graphics layer created with the draw tool

398
1
09-22-2011 11:57 AM
BenjaminHillam
Emerging Contributor
I have the draw tool working correctly and I am currently working on the edit tool.  I can delete all the graphics drawn with the DrawTool using a simple clear method.  Is there a way to clear a line,point,polygon,etc one at a time without clearing the whole graphics layer?
Tags (2)
0 Kudos
1 Reply
YungKaiChin
Regular Contributor
You can do it by removing an 'event.target'.
0 Kudos