Pin Clustering in .NET MAUI Maps
Loading a map with dozens or hundreds of pins creates an overlapping mess that’s impossible to interact with. Starting in .NET MAUI 11 Preview 3, the Map control supports pin clustering out of the box on Android and iOS/Mac Catalyst — a long-requested feature (#11811).
What you’ll learn
- How to enable clustering with a single
IsClusteringEnabled="True"property - How to create separate clustering groups using
ClusteringIdentifierso different pin types cluster independently - How to handle cluster taps with the
ClusterClickedevent and access the pins within a cluster - How to suppress default zoom-to-cluster behavior with
e.Handled = true - Platform implementation details: grid-based algorithm on Android, native
MKClusterAnnotationon iOS/Mac Catalyst