private void OnFlightSelected(object sender, SelectionChangedEventArgs e)
{
UiDispatcher.RunOnUIThread(() =>
{
if (myMap.Visibility == Visibility.Visible)
{
ShowMap();
}
else
{
// todo: show sensor data pruned to this flight time...
foreach (LogItemSchema item in CategoryList.SelectedItems)
{
if (item.ChildItems == null || item.ChildItems.Count == 0)
{
GraphItem(item);
}
}
}
});
}