public void ChangeMap(int way) { converter.ClearPathsTrail(); if (converter.CurrentControl == ProjectionType.Mercator && way == -1) { converter.CurrentControl = ProjectionType.AEQD; } else if (converter.CurrentControl == ProjectionType.AEQD && way == 1) { converter.CurrentControl = ProjectionType.Mercator; } else { converter.CurrentControl = (ProjectionType)((int)converter.CurrentControl + way); } }