SwiftUI Map Display Annotations
问题 I decided to switch from wrapping MKMapView into a UIViewRepresentable to the new Map() in SwiftUI. I was able to display correctly a MKMapRect into the Map() but I am unable to display two MKPointAnnotation there. Also my route between these annotation is not showing It is requiring me to provide an RandomAccessCollection and a (Identifiable) -> MapAnnotationProtocol> but I do not know what to put there. Any idea what should I put in (Identifiable) -> MapAnnotationProtocol ? import SwiftUI