public override void Deactivate()
{
_isActivated = false;
_polygon = null;
_points = null;
_pointsCount = 0;
_startPoint = Point2D.Empty;
if (DrawLayer != null)
{
DrawLayer.Children.Clear();
}
if (Map != null && Map.Layers != null)
{
Map.Layers.Remove(DrawLayer);
}
}
/// <summary>${ui_action_DrawPolygon_method_OnKeyDown_D}</summary>