I am testing using MapKit for SwiftUI on iOS 17.
I can select an Marker and when selected, that Marker gets bigger as expected. However, I would like to display a custom view for the selected Marker. I can display that custom view and dismiss that view when user selected the "dismiss" button.
But, the Marker remains big (as selected). How to dismiss it without user interaction?