In the
ThinkGeo Map Suite Sample Applications, there is a 'Track and edit shapes' in the 'Editing Feature Layers' part.
This sample
shows how the user can draw things into the TrackOverlay and how the user can
then edit them after pressing the button with the pencil on it.
When in
this edit mode, the user can remove vertex points by double clicking on them.
This works fine, until the shape has too few vertices (a line needs at least
two, a polygon at least three). In that case the program crashes at
ThinkGeo.MapSuite.DesktopEdition.EditInteractiveOverlay.CalculateDragControlPointsCore(Feature
feature)
I
understand that the program can't draw a line from one point, but it seems
strange that it has to crash in default mode. Anyways, any help with fixing
this behavior is appreciated. What/how can I best override?