Sample app showcasing new features in .NET MAUI 11 Preview 3.
For a full walkthrough, check out the video: What's New in .NET MAUI 11 Preview 3
- Pin clustering — group nearby pins automatically with
IsClusteringEnabledandClusteringIdentifier - Custom pin icons — use any image as a pin marker via
Pin.ImageSource - Long press to drop pins —
MapLongClickedevent for adding pins interactively - Overlay click events —
CircleClickedandPolygonClickedon map elements - Overlay visibility — toggle overlays with
MapElement.IsVisible
- Built-in long press — first-party
LongPressGestureRecognizerwith configurableMinimumPressDuration - State tracking —
LongPressingevent withGestureStatusfor real-time feedback - Position tracking —
GetPosition()to get touch coordinates relative to any element
- Implicit namespaces — no more
xmlns=boilerplate; standard MAUI andx:namespaces are implicit in .NET 11 - Source generation by default — XAML source gen is now on for all pages with lazy resource loading
- New style APIs —
InvalidateStyle()andVisualStateManager.InvalidateVisualStates()for runtime style mutations
- .NET 11 Preview 3 SDK
- .NET MAUI workload:
dotnet workload install maui - Xcode 26.2+ (iOS/macOS)
git clone https://github.com/jfversluis/MauiNet11Preview3Sample.git
cd MauiNet11Preview3Sample
# iOS
dotnet build -f net11.0-ios
dotnet build -t:Run -f net11.0-ios
# Android
dotnet build -f net11.0-android
dotnet build -t:Run -f net11.0-android| Maps | Long Press | XAML |
|---|---|---|
| Pin clustering, custom icons, overlays | Configurable duration, position tracking | Implicit namespaces, source gen |
This project is licensed under the MIT License.