summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-10-12 11:02:04 -0700
committerJustin R. Miller <incanus@codesorcery.net>2015-10-12 11:02:04 -0700
commit24aa375cd108ccb4b876d473f518762cc6041c8e (patch)
tree3be9c802aa3da2b89fe0a5381dd2ff7e24a26309 /include
parent1a5c452fe3d96be5ebdb21b3f06d8156242b9dfd (diff)
downloadqtlocation-mapboxgl-24aa375cd108ccb4b876d473f518762cc6041c8e.tar.gz
[ios] tweaks to match code style for 1a5c452 callout tap handler
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/ios/MGLMapView.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/mbgl/ios/MGLMapView.h b/include/mbgl/ios/MGLMapView.h
index ea08095450..e7f8446907 100644
--- a/include/mbgl/ios/MGLMapView.h
+++ b/include/mbgl/ios/MGLMapView.h
@@ -570,12 +570,6 @@ 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.
@@ -587,6 +581,11 @@ IB_DESIGNABLE
* @param control The control that was tapped. */
- (void)mapView:(MGLMapView *)mapView annotation:(id <MGLAnnotation>)annotation calloutAccessoryControlTapped:(UIControl *)control;
+/** Tells the delegate that the user tapped on an annotation's callout view.
+* @param mapView The map view containing the specified annotation.
+* @param annotation The annotation whose callout was tapped.*/
+- (void)mapView:(MGLMapView *)mapView tapOnCalloutForAnnotation:(id <MGLAnnotation>)annotation;
+
#pragma mark - Selecting Annotations
/** @name Selecting Annotations */