<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)
Since:
1.8

List of all members.

Public Member Functions

(void) - mapView:didClickCalloutAccessoryButtonAtPoint:
(void) - mapView:didClickCalloutAccessoryButtonForGPS:
(void) - mapView:didClickCalloutAccessoryButtonForGraphic:
(void) - mapView:didShowCalloutForGPS:
(void) - mapView:didShowCalloutForGraphic:
(BOOL) - mapView:shouldShowCalloutForGPS:
(BOOL) - mapView:shouldShowCalloutForGraphic:
(void) - mapViewDidDismissCallout:
(void) - mapViewWillDismissCallout:

Member Function Documentation

- (void) mapView: (AGSMapView *)  mapView
didClickCalloutAccessoryButtonAtPoint: (AGSPoint *)  point 
[optional]

Tells the delegate the callout accessory button was tapped on.

Parameters:
mapView Map containing callout.
point Map point at which callout was shown.
Since:
1.8
- (void) mapView: (AGSMapView *)  mapView
didClickCalloutAccessoryButtonForGPS: (AGSGPS *)  gps 
[optional]

Tells the delegate the callout accessory button was tapped on for the GPS callout.

Parameters:
mapView Map containing callout.
gps GPS display for which the callout was shown.
Since:
1.8
- (void) mapView: (AGSMapView *)  mapView
didClickCalloutAccessoryButtonForGraphic: (AGSGraphic *)  graphic 
[optional]

Tells the delegate the callout accessory button was tapped on.

Parameters:
mapView Map containing callout.
graphic Graphic for which callout was shown.
Since:
1.8
- (void) mapView: (AGSMapView *)  mapView
didShowCalloutForGPS: (AGSGPS *)  gps 
[optional]

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

Parameters:
mapView Map containing the callout to be shown.
gps GPS display that the callout was shown for.
Since:
1.8
- (void) mapView: (AGSMapView *)  mapView
didShowCalloutForGraphic: (AGSGraphic *)  graphic 
[optional]

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

Parameters:
mapView Map containing callout.
graphic Graphic for which callout was shown.
Since:
1.8
- (BOOL) mapView: (AGSMapView *)  mapView
shouldShowCalloutForGPS: (AGSGPS *)  gps 
[optional]

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

Parameters:
mapView Map containing the callout to be shown.
gps GPS display that the callout will be shown for.
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:
mapView Map containing callout to be shown.
graphic Graphic to show callout for.
Returns:
BOOL value whether callout should be shown for the graphic.
Since:
1.8
- (void) mapViewDidDismissCallout: (AGSMapView *)  mapView   [optional]

Tells the delegate that the callout was dismissed.

Since:
1.8
- (void) mapViewWillDismissCallout: (AGSMapView *)  mapView   [optional]

Tells the delegate that a callout will be dismissed.

Since:
2.0