AnsweredAssumed Answered

Add Multiple Graphics with 1 Graphic ID

Question asked by sauegr01 on Jan 28, 2015
Latest reply on Mar 2, 2015 by sauegr01

I am trying to create a line with a dot at each end of the line. I have successfully completed this by drawing a line, a dot, and another dot. My issue is that this creates 3 different graphic IDs.

 

When a user clicks on a line, they have an option to delete the line. No problem, but I also have to delete the points associated with the line. I have a work around solution, but I would love to create and add one object to the map that draws the line and 2 dots.

 

I am also trying to add a line with text above it, but again want to add both graphics as one graphic with only 1 graphic ID.

 

Thank you for any help or advice.

Outcomes