After spending two hours trying to find anything on it (and failing), I hope for a last resort here:
I have a very simple map with annotation markers. Problem: the user taps on a marker or pin — and in the past it used to fire a "didSelect" on the mapView, but now?! How do I react to the user tapping a pin or marker? I tried to add a .onTapGesture but no such thing.
Map(
coordinateRegion: $viewMapModel.mapLocation,
annotationItems: viewMapModel.annotations,
annotationContent: {
		n in MapMarker(
			coordinate: n.location,
			tint: .red
		)
	}
)
Essentially, once a user taps a pin or marker, I want to show a popup, but just showing a print would already make my world for simplicity purposes here.
I want to use this new iOS 14+ format, so please no solutions taking me back to makeUIView->MKMapView stuff. Thanks!