SwiftUI Map Annotation Clustering

I am creating an application which utilizes SwiftUI and Apple's MapKit api. The goal is to create a map with custom annotations, I have been successful in this quest however I am having issues with Map Annotation Clustering.

I suppose what I'm looking to determine is if I am required to use UIKit with MKMapView in hopes to be able to create clustering map annotations or if there is a method utilizing the above aforementioned SwiftUI Map Struct along slide the MapAnnotation Struct to complete this task?

Post not yet marked as solved Up vote post of hallux Down vote post of hallux
2.5k views

Replies

For more advanced annotation tasks, like clustering, you need to use MKMapView rather than Map. Enhancement requests are welcome for any MapKit functionality you need in SwiftUI.