private void OperationalLayerSelectionChanged(object sender, SelectionChangedEventArgs e) { // Call a function to add the chosen layers to the map AddOperationalLayers(); }