diff --git a/src/ControlGallery/App.xaml.cs b/src/ControlGallery/App.xaml.cs
index 5ff2cee..0e7db12 100644
--- a/src/ControlGallery/App.xaml.cs
+++ b/src/ControlGallery/App.xaml.cs
@@ -31,6 +31,7 @@ private void RegisterRoutes()
Routing.RegisterRoute(nameof(EntryPage), typeof(EntryPage));
Routing.RegisterRoute(nameof(ImagePage), typeof(ImagePage));
Routing.RegisterRoute(nameof(LabelPage), typeof(LabelPage));
+ Routing.RegisterRoute(nameof(MapPage), typeof(MapPage));
Routing.RegisterRoute(nameof(ProgressBarPage), typeof(ProgressBarPage));
Routing.RegisterRoute(nameof(RadioButtonPage), typeof(RadioButtonPage));
Routing.RegisterRoute(nameof(ShapesPage), typeof(ShapesPage));
diff --git a/src/ControlGallery/ControlGallery.csproj b/src/ControlGallery/ControlGallery.csproj
index fbdaea2..5677d07 100644
--- a/src/ControlGallery/ControlGallery.csproj
+++ b/src/ControlGallery/ControlGallery.csproj
@@ -45,9 +45,11 @@
+
+
\ No newline at end of file
diff --git a/src/ControlGallery/MauiProgram.cs b/src/ControlGallery/MauiProgram.cs
index e3cde63..28a77f3 100644
--- a/src/ControlGallery/MauiProgram.cs
+++ b/src/ControlGallery/MauiProgram.cs
@@ -7,6 +7,7 @@
using Microsoft.Maui.Handlers;
using static Microsoft.Maui.Controls.Button;
+using Microsoft.Maui.Controls.Maps;
#if IOS || MACCATALYST
using UIKit;
@@ -26,6 +27,7 @@ public static MauiApp CreateMauiApp()
builder
.UseMauiApp()
.UseMauiCommunityToolkit()
+ .UseMauiMaps()
.ConfigureFonts(fonts =>
{
fonts.AddFont("fa_solid.ttf", "FontAwesome");
diff --git a/src/ControlGallery/Pages/Controls/ActivityIndicatorPage (copy).xaml b/src/ControlGallery/Pages/Controls/ActivityIndicatorPage (copy).xaml
deleted file mode 100644
index 1c06a47..0000000
--- a/src/ControlGallery/Pages/Controls/ActivityIndicatorPage (copy).xaml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/ControlGallery/Pages/Controls/ActivityIndicatorPage (copy).xaml.cs b/src/ControlGallery/Pages/Controls/ActivityIndicatorPage (copy).xaml.cs
deleted file mode 100644
index 68b5ca3..0000000
--- a/src/ControlGallery/Pages/Controls/ActivityIndicatorPage (copy).xaml.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-using Microsoft.Maui;
-using Microsoft.Maui.Controls;
-using Microsoft.Maui.Controls.Xaml;
-
-namespace ControlGallery.Pages
-{
- [XamlCompilation(XamlCompilationOptions.Compile)]
- public partial class ActivityIndicatorPage : ContentPage
- {
- public ActivityIndicatorPage()
- {
- InitializeComponent();
- }
-
- }
-}
\ No newline at end of file
diff --git a/src/ControlGallery/Pages/Controls/MapPage.xaml b/src/ControlGallery/Pages/Controls/MapPage.xaml
new file mode 100644
index 0000000..29a327e
--- /dev/null
+++ b/src/ControlGallery/Pages/Controls/MapPage.xaml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ControlGallery/Pages/Controls/MapPage.xaml.cs b/src/ControlGallery/Pages/Controls/MapPage.xaml.cs
new file mode 100644
index 0000000..40c566a
--- /dev/null
+++ b/src/ControlGallery/Pages/Controls/MapPage.xaml.cs
@@ -0,0 +1,26 @@
+namespace ControlGallery.Pages;
+
+public partial class MapPage : ContentPage
+{
+ public MapPage()
+ {
+ InitializeComponent();
+ }
+
+ protected override void OnNavigatedTo(NavigatedToEventArgs args)
+ {
+ base.OnNavigatedTo(args);
+
+ var hanaLoc = new Location(20.7557, -155.9880);
+
+ MapSpan mapSpan = MapSpan.FromCenterAndRadius(hanaLoc, Distance.FromKilometers(3));
+ map.MoveToRegion(mapSpan);
+
+ map.Pins.Add(new Pin
+ {
+ Label = "Welcome to .NET MAUI!",
+ Location = hanaLoc,
+ });
+ }
+
+}
\ No newline at end of file
diff --git a/src/ControlGallery/Pages/ControlsPage.xaml b/src/ControlGallery/Pages/ControlsPage.xaml
index 3b37005..2af9c4c 100644
--- a/src/ControlGallery/Pages/ControlsPage.xaml
+++ b/src/ControlGallery/Pages/ControlsPage.xaml
@@ -97,6 +97,9 @@
+
diff --git a/src/ControlGallery/Pages/Features/ContextMenuPage.xaml b/src/ControlGallery/Pages/Features/ContextMenuPage.xaml
index 98ac3cd..5ba8810 100644
--- a/src/ControlGallery/Pages/Features/ContextMenuPage.xaml
+++ b/src/ControlGallery/Pages/Features/ContextMenuPage.xaml
@@ -5,7 +5,7 @@
x:Class="ControlGallery.Pages.ContextMenuPage"
Title="ContextMenu">
-
+