private void CmdEndPolygonDrawing_Execute(object obj)
        {
            if (_draftMapModel != null && _draftMapModel.IsCurrentlyDrawing)
            {
                var pol = _draftMapModel.FinishCurrentPolygon();

                BmpPlanner.MouseDown -= BmpPlanner_MouseDown;
                BmpPlanner.MouseMove -= BmpPlanner_MouseMove;

                DrawingRequested = false;
                NotifyPropertyChanged("DrawingRequested");
                NotifyPropertyChanged("DrawingHelpVisible");

                var areaInAcres = pol.CoveredArea();

                AreasOfInterest.Add(new AreaOfInterest()
                {
                    AnalizedArea       = 0,
                    Area               = areaInAcres,
                    RequiredFlightTime = Math.Round(areaInAcres * 1.0425 / 6, 2),
                    RequiredImages     = (int)Math.Ceiling(areaInAcres * 37 / 6),
                    MapModel           = _draftMapModel
                });
                NotifyPropertyChanged("AreasOfInterest");

                AddToMyAreasVisibility = Visibility.Visible;
                NotifyPropertyChanged("AddToMyAreasVisibility");

                _draftMapModel = null;

                RenderMap();
            }
        }
        private void OpenSavedAOI_Execute(object aoi)
        {
            if (aoi is AreaOfInterest aoiObj)
            {
                if (!AreasOfInterest.Any((a) => a.Name == aoiObj.Name))
                {
                    CmdCleanMap_Execute(null);
                    AreasOfInterest.Add(aoiObj);
                    Flights.AddRange(aoiObj.Flights);
                }

                NotifyPropertyChanged("AreasOfInterest");
                NotifyPropertyChanged("Flights");
                RenderMap();
            }
        }