public LOSBaseViewModel()
{
ObserverOffset = 2.0;
TargetOffset = 0.0;
OffsetUnitType = DistanceTypes.Meters;
AngularUnitType = AngularTypes.DEGREES;
ObserverAddInPoints = new ObservableCollection<AddInPoint>();
ToolMode = MapPointToolMode.Unknown;
SurfaceLayerNames = new ObservableCollection<string>();
SelectedSurfaceName = string.Empty;
Mediator.Register(Constants.MAP_TOC_UPDATED, OnMapTocUpdated);
Mediator.Register(Constants.DISPLAY_COORDINATE_TYPE_CHANGED, OnDisplayCoordinateTypeChanged);
DeletePointCommand = new RelayCommand(OnDeletePointCommand);
DeleteAllPointsCommand = new RelayCommand(OnDeleteAllPointsCommand);
EditPropertiesDialogCommand = new RelayCommand(OnEditPropertiesDialogCommand);
}