When I have the TrackOverlay in say, TrackMode.Polygon, is there a way to be notified when a user finishes drawing a shape?
Dave
When I have the TrackOverlay in say, TrackMode.Polygon, is there a way to be notified when a user finishes drawing a shape?
Dave
Never mind... I figured it out...
While there is no Map.TrackEnded event, there is a Map.TrackOverlay.TrackEnded event. To use it, just add something like this to your Form.Designer.cs file:
this.Map.TrackOverlay.TrackEnded += new System.EventHandler<ThinkGeo.MapSuite.DesktopEdition.TrackEndedTrackInteractiveOverlayEventArgs>(this.TrackOverlay_TrackEnded);
and then provide a handler somewhere like this:
private void TrackOverlay_TrackEnded(object sender, EventArgs e)
{
Map.TrackOverlay.TrackMode = TrackMode.None;
}
Dave
Dave,
I am glad you find it by yourself.
Please let me know if you have more questions.
Thanks
James