private void Button_AddSingleFile_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         _tapStateEnum = TapStateEnum.NewPushpinFile;
         Grid_HandIndicate.Visibility = Windows.UI.Xaml.Visibility.Visible;
         TextBlock_MapHandIndicate.Text = Utils.Constants.ResourceLoader.GetString("AddFileHandIndicateText");
         hideAppBars();
         Popup_AddElement.IsOpen = false;
     }
     catch (Exception excep) { Utils.Constants.ShowErrorDialog(excep, "MapView - Button_AddSingleFile_Click"); }
 }
 private void addNewPushpinUpdateMapPageState()
 {
     _tapStateEnum = TapStateEnum.Normal;
     BottomAppBar.IsOpen = true;
     //Button_RemoveAPushPin.Opacity = 1;
     //Button_ShowPhotoByAlbum.Opacity = 1;
 }
 private void Button_MoveSelectedPushPin_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         if (currentSelectedPushpin != null)
         {
             _tapStateEnum = TapStateEnum.MovePushpin;
             Grid_HandIndicate.Visibility = Windows.UI.Xaml.Visibility.Visible;
             TextBlock_MapHandIndicate.Text = Utils.Constants.ResourceLoader.GetString("AddRemoveHandIndicateText");
             hideAppBars();
         }
         else
             _tapStateEnum = TapStateEnum.Normal;
     }
     catch (Exception excep) { Utils.Constants.ShowErrorDialog(excep, "MapView - Button_MoveSelectedPushPin_Click"); }
 }
 private async void map_Tapped(object sender, TappedRoutedEventArgs e)
 {
     try
     {
         if (_tapStateEnum == TapStateEnum.NewPushpinPhotoVideo)
             await addNewPhotoVideoPushpin(e);
         else if (_tapStateEnum == TapStateEnum.NewPushpinFile)
             await addNewFilePushpin(e);
         else if (_tapStateEnum == TapStateEnum.MovePushpin)
             await movePushpin(e);
         Grid_HandIndicate.Visibility = Windows.UI.Xaml.Visibility.Collapsed;
         _tapStateEnum = TapStateEnum.Normal;
     }
     catch (Exception excep) { Utils.Constants.ShowErrorDialog(excep, "MapView - map_Tapped"); }
 }