<AGSInfoTemplateDelegate> Protocol Reference
Description
A protocol which must be adopted by any class wishing to display content for an AGSGraphic
in the callout window. An instance of the class must then be set as the infoTemplateDelegate
on the graphic.
All of the methods of this protocol are mandatory.
- Defined in:
- AGSInfoTemplateDelegate.h ( ArcGIS library)
- Since:
- 1.0
- See also:
- AGSMapViewDelegate for events related to showing the callout.
List of all members.
Member Function Documentation
- (NSString *) detailForGraphic: |
|
(AGSGraphic *) |
graphic |
screenPoint: |
|
(CGPoint) |
screen |
mapPoint: |
|
(AGSPoint *) |
map | |
|
|
| | |
Detail string to be displayed in the callout.
- Parameters:
-
| graphic | The graphic to display detail for. |
| screen | The coordinates at which the graphic callout will be displayed. |
| map | The coordinates at which the graphic callout will be displayed. |
- Returns:
- The detail text for the callout.
- Since:
- 1.0
- (NSString *) titleForGraphic: |
|
(AGSGraphic *) |
graphic |
screenPoint: |
|
(CGPoint) |
screen |
mapPoint: |
|
(AGSPoint *) |
map | |
|
|
| | |
Title text to be displayed in the callout.
- Parameters:
-
| graphic | The graphic to display a title for. |
| screen | The coordinates at which the graphic callout will be displayed. |
| map | The coordinates at which the graphic callout will be displayed. |
- Returns:
- The title text for the callout.
- Since:
- 1.0