Skip to content

Instantly share code, notes, and snippets.

Created December 2, 2022 03:00
What would you like to do?
Adding UseMauiMaps method in CreateMauiApp method from MauiProgram
public static class MauiProgram
public static MauiApp CreateMauiApp()
var builder = MauiApp.CreateBuilder();
.ConfigureFonts(fonts =>
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
return builder.Build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment