Hi,
-
Like said before we use overlay.DrawingException now to draw custom exceptions but I guess that same (throwing any other that OperationCanceledException) applies to that also ?
-
I also noticed that after exceptions are drawn and you set layers IsVisible to false and refresh the map empty tiles are stored to cache for those tiles which had exception drawn. I discovered this on our app with OgcApiFeatureLayer but can be reproduce also with that sample you gave earlier HandleException_04112025.zip. I just added button to UI with this kind of handler:
private void ChangeVisibility(object sender, RoutedEventArgs e) { _wms.IsVisible = false; _ = MapView.RefreshAsync(); }
Br, Simo