I have the selection parameter of the map set to the following and I'm able to select MapFeatures but not Markers representing search results that are an array of MKMapItem. When tapping the Markers, they are not selected and instead the Map simply zooms in closer to the Marker.
@State private var selection: MapSelection?
Is there something additional that needs to be specified for the Map to allow the MapFeatures and Markers to be selected?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: