10.2.5: <AGSMapViewCalloutDelegate> Protocol Reference
10.2.5
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
<AGSMapViewCalloutDelegate> Protocol Reference

Description

A protocol which must be adopted by a class wishing to be called for callout related actions happening on the map.

All of the methods of this protocol are optional.

Defined in:
AGSMapView.h ( ArcGIS library)

Deprecated:
Deprecated at 10.2. Use AGSCalloutDelegate instead.
Since
1.8
Inheritance diagram for <AGSMapViewCalloutDelegate>:

Instance Methods

(void) - mapView:didShowCalloutForGraphic:
 
(void) - mapView:didShowCalloutForLocationDisplay:
 
(BOOL) - mapView:shouldShowCalloutForGraphic:
 
(BOOL) - mapView:shouldShowCalloutForLocationDisplay:
 
(void) - mapViewDidDismissCallout:
 
(void) - mapViewWillDismissCallout:
 

Method Documentation

- (void) mapView: (AGSMapView *)  mapView
didShowCalloutForGraphic: (AGSGraphic *)  graphic 
optional

Tells the delegate callout was shown for a graphic that was tapped on.

Parameters
mapViewMap containing callout.
graphicGraphic for which callout was shown.
Deprecated:
Deprecated at 10.2. No replacement.
Since
1.8
- (void) mapView: (AGSMapView *)  mapView
didShowCalloutForLocationDisplay: (AGSLocationDisplay *)  ld 
optional

Tells the delegate a callout was shown for the location display.

Parameters
mapViewMap containing the callout to be shown.
ldAGSLocationDisplay that the callout was shown for.
Deprecated:
Deprecated at 10.2. No replacement.
Since
1.8
- (BOOL) mapView: (AGSMapView *)  mapView
shouldShowCalloutForGraphic: (AGSGraphic *)  graphic 
optional

Asks delegate whether to show callout for a graphic that has been tapped on. Default is YES.

Parameters
mapViewMap containing callout to be shown.
graphicGraphic to show callout for.
Returns
BOOL value whether callout should be shown for the graphic.
Deprecated:
Deprecated at 10.2. Use callout:willShowForFeature:layer:mapPoint: (AGSCalloutDelegate-p) instead.
Since
1.8
- (BOOL) mapView: (AGSMapView *)  mapView
shouldShowCalloutForLocationDisplay: (AGSLocationDisplay *)  ld 
optional

Asks the delegate whether to show a callout when the user taps the location display. Default is YES.

Parameters
mapViewMap containing the callout to be shown.
ldAGSLocationDisplay that the callout will be shown for.
Deprecated:
Deprecated at 10.2. Use callout:willShowForLocationDisplay: (AGSCalloutDelegate-p) instead.
Since
1.8
- (void) mapViewDidDismissCallout: (AGSMapView *)  mapView
optional

Tells the delegate that the callout was dismissed.

Deprecated:
Deprecated at 10.2. Use calloutDidDismiss: (AGSCalloutDelegate-p) instead.
Since
1.8
- (void) mapViewWillDismissCallout: (AGSMapView *)  mapView
optional

Tells the delegate that a callout will be dismissed.

Deprecated:
Deprecated at 10.2. Use calloutWillDismiss: (AGSCalloutDelegate-p) insetad.
Since
2.0