Forwards the SMCalloutView tap delegate
This commit is contained in:
committed by
Justin R. Miller
parent
e3d9fb1715
commit
1a5c452fe3
@@ -570,6 +570,12 @@ IB_DESIGNABLE
|
||||
|
||||
/** @name Managing Annotations */
|
||||
|
||||
/* Tells the delegate that the user tapped on the callout view itself.
|
||||
*
|
||||
* @param mapView The map view containing the specified annotation.
|
||||
* @param annotation The annotation whose button was tapped.*/
|
||||
- (void)mapView:(MGLMapView *)mapView tapOnLabelForAnnotation:(id <MGLAnnotation>)annotation;
|
||||
|
||||
/** Tells the delegate that the user tapped one of the annotation's accessory buttons.
|
||||
*
|
||||
* Accessory views contain custom content and are positioned on either side of the annotation title text. If a view you specify is a descendant of the `UIControl` class, the map view calls this method as a convenience whenever the user taps your view. You can use this method to respond to taps and perform any actions associated with that control. For example, if your control displayed additional information about the annotation, you could use this method to present a modal panel with that information.
|
||||
|
||||
Reference in New Issue
Block a user