Hi,
I would like to move a selected line in the polygon in edit mode using mouse drag. Can you please help me how to do that: Here is the code i have in edit mode:
if (editMode)
{
Map1.TrackOverlay.TrackMode = TrackMode.None;
foreach (Feature feature in Map1.TrackOverlay.TrackShapeLayer.InternalFeatures)
{
if (!Map1.EditOverlay.EditShapesLayer.InternalFeatures.Contains(feature))
{
Map1.EditOverlay.EditShapesLayer.InternalFeatures.Add(feature);
}
}
Map1.TrackOverlay.TrackShapeLayer.InternalFeatures.Clear();
Map1.TrackOverlay.Refresh();
Map1.EditOverlay.CalculateAllControlPoints();
Map1.EditOverlay.Refresh();
Edit.Content = "Edit Mode Off";
}
Thanks in Advance - Varun