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.