/// <summary>
        /// Given a selected map, get the list of available map location unit formats.
        /// This will be displayed in the combo box. The map's display unit can be changed to any of these location unit values.
        /// </summary>
        private async void GetAvailableDisplayUnits()
        {
            //Clear the current available units
            MapAvailableDisplayUnits.Clear();
            var units = await QueuedTask.Run(() =>
            {
                //Gets the list of available map location unit formats for the given map.
                return(SelectedMap.GetAvailableLocationUnitFormats());
            });

            //Update combo box binding collection to the units for the selected map.
            foreach (var item in units)
            {
                MapAvailableDisplayUnits.Add(item);
            }
            //Gets the current map location unit format for the current project
            _mapDisplayUnitFormat = await QueuedTask.Run(() =>
            {
                return(SelectedMap.GetLocationUnitFormat());
            });

            //Set the location unit combo box item to the map's location unit format (Meters, decimal degree, etc)
            SelectedMapAvailableDisplayUnit = MapAvailableDisplayUnits.FirstOrDefault(u => u.UnitCode == _mapDisplayUnitFormat.UnitCode);
            //Should the Apply button be enabled?
            CanChangeMapDU = false; //They will match
        }