Map
The Map
control is a cross-platform view for displaying and annotating maps. The Windows implementation is available through the .NET MAUI Community Toolkit.
Setup
Before you are able to use Map
inside your application you will need to install the NuGet package and add an initialization line in your MauiProgram.cs. For more information on how to do this, please refer to the Get Started page.
Usage
The API of the .NET MAUI Community Toolkit implementation for Windows is not different from the API of the .NET MAUI Maps implementation for iOS and Android.
For details on how to work with this map control, please refer to the .NET MAUI Map documentation.
Examples
You can find examples of this control in action in the .NET MAUI Community Toolkit Sample Application.
API
You can find the source code for Map
over on the .NET MAUI Community Toolkit GitHub repository.
.NET MAUI Community Toolkit