Example #1
0
 internal void OpenInGeoAppClick(object sender, RoutedEventArgs e)
 {
     if (!(GeoLocationSupport?.CanOpenGeoApp ?? false))
     {
         return;
     }
     GeoLocationSupport?.OpenGeoApp(Value);
 }
Example #2
0
 internal void LocationBoxLostFocus(object sender, RoutedEventArgs e)
 {
     // lat lon decimal formatter is always supported -even if null
     if (GeoLocationSupport == null)
     {
         Value = NZazuCoordinate.Parse(LocationBox.Text.Trim());
     }
     else
     {
         Value = GeoLocationSupport.Parse(LocationBox.Text.Trim());
     }
 }