private void OnBasemapsMenuItemClicked(object sender, PopupMenu.MenuItemClickEventArgs e)
{
// Get the title of the selected item
var selectedBasemapType = e.Item.TitleCondensedFormatted.ToString();
// Pass the selected basemap name to the view model ChangeBasemap method
_mapViewModel.ChangeBasemap(selectedBasemapType);
}
#endregion