Welcome to the .NET MAUI feedback portal. We’re happy you’re here! If you have feedback on how to improve the .NET MAUI, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Maui SfMaps has no export function, although Blazor SfMaps does.

However all Maui views should implement CaptureAsync, as in

IScreenshotResult result = await view.CaptureAsync();

If successful, a simple export function could be:

using (MemoryStream strm = new MemoryStream())

            {

                await result.CopyToAsync(strm, ScreenshotFormat.Jpeg, 10);

                byte[] bytes = strm.ToArray();

            }


When I try this with SfMaps, the result appears to be a solid black square.