I am developing an application where the user will be drawing a polygon/line on a map. Even though they can doubleclick to stop, I need to add a stop icon that will do the same thing. I have that working okay. My issue is that it will record the position of the cursor when the stop button is hit as part of the shape. How do I then remove that?
I tried following the sample that (wiki.thinkgeo.com/wiki/Sourc…100330.zip) but i was unable to get it to actually remove anything, even when I removed all the vertices.
Manually stopping trackoverlay
Hi Scott,
Thanks for your post, attached code is for your consideration, would you please use it to replace "button_Clicke()"in “Track and edit Shapes.cs” in “How Do I Sample”, following is a test vedio on our end for your information: screencast.com/t/GGqCUM0WS5
if you have any more question , please feel free to let us know.
Best Regards
Summer
Thank you for your reply, but I don’t see an attachment
i got this working. thanks.
Hi Scott,
Great to hear it is sorted out, if you have any more question, please feel free to let us know.
Best Regards
Summer