Update Maps documentation for .NET 11 features#3212
Conversation
Document all new Maps APIs added in .NET 11 via the Maps epic (dotnet/maui#33787): - Pin clustering (IsClusteringEnabled, ClusterClicked, ClusteringIdentifier) - Custom pin icons (Pin.ImageSource) - MoveToRegion animated overload and MapSpan.FromLocations - Pin.ShowInfoWindow() and Pin.HideInfoWindow() - MapLongClicked event - MapElementClick event for Circle/Polygon/Polyline - UserLocationChanged event and LastUserLocation property - Map.MapStyle for custom JSON styling (Android) - MapElement.IsVisible and MapElement.ZIndex - XAML TypeConverters (LocationTypeConverter, MapSpanTypeConverter) - Map.Region bindable property All new content gated with >=net-maui-11.0 moniker ranges. Closes #3208 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Learn Build status updates of commit 188f07b: ❌ Validation status: errorsPlease follow instructions here which may help to resolve issue.
docs/user-interface/controls/map.md
For more details, please refer to the build report. Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them. |
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 3cc80f4: ✅ 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 |
The net-maui-11.0 moniker is not yet registered in the build system, causing validation errors. Remove the zone markers while keeping all .NET 11 content inline. Moniker zones can be re-added once the moniker is defined. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This reverts commit 5c7f63e.
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 5c7f63e: ✅ Validation status: passed
For more details, please refer to the build report. |
|
Learn Build status updates of commit 117cfab: ✅ 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 |
Description
Updates the Maps control documentation (
docs/user-interface/controls/map.md) to cover all new features added in .NET 11 via the Maps epic (dotnet/maui#33787).New features documented
All new content is gated with
>=net-maui-11.0moniker ranges.IsClusteringEnabled,ClusterClicked)Pin.ImageSource)MoveToRegion(MapSpan, bool animated)overloadMapSpan.FromLocations()for best-fit zoomPin.ShowInfoWindow()/Pin.HideInfoWindow()MapLongClickedeventMapElementClickevent for Circle/Polygon/PolylineUserLocationChangedevent andLastUserLocationMap.MapStylefor custom JSON styling (Android)MapElement.IsVisibleandMapElement.ZIndexLocationTypeConverter,MapSpanTypeConverter)Map.Regionbindable propertyStructure
All additions are within the existing
map.mdfile, inserted into the relevant existing sections:ImageSource,ClusteringIdentifier) added to Pin propertiesCloses #3208
Internal previews