public protocol MapDataSource : AnyObject
The methods that an object adopts to manage callout views for a MapView.
ImportantThis is a Public Preview API. It may be changed or removed at any time.
Method called when the user taps on a Marker. Can be used for to provide a custom annotation callout. If nil is returned, no annotation callout will be presented.
func map(_ map: Map, viewForSelected marker: Annotation) -> UIView?
The instance of the Map where the event occurred.
The annotation of the tap.