internal void OpenInGeoAppClick(object sender, RoutedEventArgs e) { if (!(GeoLocationSupport?.CanOpenGeoApp ?? false)) { return; } GeoLocationSupport?.OpenGeoApp(Value); }
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()); } }