public void setVisible(object sender, RoutedEventArgs e)
 {
     mapDrawer.setVisibility(showACheckBox.IsChecked.Value, showBCheckBox.IsChecked.Value);
     mapDrawer.updateVisibility();
 }