Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CreateDynamicBasemapGallery unhandled exception #1497

Merged

Conversation

williambohrmann3
Copy link
Collaborator

Description

If a basemap is not selected and user tries to load, an unhandled exception occurs. Simply return if null. Note this change is included in #1496 for .NET MAUI.

Type of change

  • Bug fix

Platforms tested on

  • WPF .NET 8
  • WPF Framework
  • WinUI

Checklist

  • Self-review of changes
  • All changes work as expected on all affected platforms
  • There are no warnings related to changes
  • Code is commented and follows .NET conventions and standards
  • Codemaid and XAML styler extensions have been run on every changed file
  • No unrelated changes have been made to any other code or project files

happens when user tries to load the style but no basemap style has been selected
@williambohrmann3 williambohrmann3 merged commit 1d2eadb into v.next Jul 29, 2024
2 checks passed
@williambohrmann3 williambohrmann3 deleted the wbohr/CreateDynamicBasemapGallery-exception branch July 29, 2024 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants