Update MAUI Map docs for Windows Azure Maps support#3357
Conversation
|
Learn Build status updates of commit 6b17e22: ✅ Validation status: passedFor more details, please refer to the build report. |
Agent-Logs-Url: https://github.com/dotnet/docs-maui/sessions/2571c4f5-9b29-42a0-97e2-099d42bd022a Co-authored-by: jfversluis <939291+jfversluis@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/docs-maui/sessions/2571c4f5-9b29-42a0-97e2-099d42bd022a Co-authored-by: jfversluis <939291+jfversluis@users.noreply.github.com>
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
Agent-Logs-Url: https://github.com/dotnet/docs-maui/sessions/2571c4f5-9b29-42a0-97e2-099d42bd022a Co-authored-by: jfversluis <939291+jfversluis@users.noreply.github.com>
|
Learn Build status updates of commit 3fe4cb5: ✅ Validation status: passed
For more details, please refer to the build report. |
Agent-Logs-Url: https://github.com/dotnet/docs-maui/sessions/2571c4f5-9b29-42a0-97e2-099d42bd022a Co-authored-by: jfversluis <939291+jfversluis@users.noreply.github.com>
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit de03a6f: ✅ Validation status: passed
For more details, please refer to the build report. |
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 928951c: ✅ Validation status: passed
For more details, please refer to the build report. |
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 782515a: ✅ Validation status: passed
For more details, please refer to the build report. |
There was a problem hiding this comment.
Pull request overview
Updates the .NET MAUI Map control documentation to reflect new Windows behavior by introducing versioned guidance and adding Windows setup instructions for the Azure Maps-backed WinUI MapControl.
Changes:
- Adds monikered Windows support messaging (unsupported in older versions, Azure Maps-backed support in newer versions).
- Updates the Platform configuration section to include Windows configuration details and an Azure Maps subscription key setup snippet.
- Documents Windows feature support and current limitations.
|
|
||
| The .NET Multi-platform App UI (.NET MAUI) <xref:Microsoft.Maui.Controls.Maps.Map> control is a cross-platform view for displaying and annotating maps. The <xref:Microsoft.Maui.Controls.Maps.Map> control uses the native map control on each platform, and is provided by the [Microsoft.Maui.Controls.Maps NuGet package](https://www.nuget.org/packages/Microsoft.Maui.Controls.Maps/). | ||
|
|
||
| ::: moniker range="<=net-maui-9.0" |
|
|
||
| ::: moniker-end | ||
|
|
||
| ::: moniker range=">=net-maui-10.0" |
| ### Platform configuration | ||
|
|
||
| Additional configuration is required on Android before the map will display. In addition, on iOS, Android, and Mac Catalyst, accessing the user's location requires location permissions to have been granted to your app. | ||
| Additional configuration is required on Android and Windows before the map will display. In addition, on iOS, Android, and Mac Catalyst, accessing the user's location requires location permissions to have been granted to your app. |
| #### Windows | ||
|
|
||
| ::: moniker range=">=net-maui-10.0" | ||
|
|
| - Displaying polygons, polylines, and circles from the `MapElements` collection. | ||
| - Pin labels and info windows. | ||
| - The `MapClicked` event for taps on the map background. |
.NET MAUI Maps now has a native Windows implementation using WinUI 3
MapControlbacked by Azure Maps. The docs still described Windows as unsupported and pointed users to the Community Toolkit workaround.Versioned Windows guidance
<=net-maui-9.0.>=net-maui-10.0guidance for Azure Maps-backed Windows support.Windows setup
ConfigureEssentials:MoveToRegion, map types, traffic, scrolling/zooming, and pins.Internal previews