AGSCallout.h File Reference

Enumerations

enum  AGSCalloutLeaderPosition {
  AGSCalloutLeaderPositionBottom = 1UL << 0, AGSCalloutLeaderPositionTop = 1UL << 1, AGSCalloutLeaderPositionLeft = 1UL << 2, AGSCalloutLeaderPositionRight = 1UL << 3,
  AGSCalloutLeaderPositionAny = AGSCalloutLeaderPositionBottom | AGSCalloutLeaderPositionTop | AGSCalloutLeaderPositionLeft | AGSCalloutLeaderPositionRight
}

Enumeration Type Documentation

Supported positions of the callout's leader. The position is relative to the callout itself.

Since:
2.1
Enumerator:
AGSCalloutLeaderPositionBottom 

Leader is placed on the bottom edge of the callout

AGSCalloutLeaderPositionTop 

Leader is placed on the top edge of the callout

AGSCalloutLeaderPositionLeft 

Leader is placed on the left edge of the callout

AGSCalloutLeaderPositionRight 

Leader is placed on the right edge of the callout

AGSCalloutLeaderPositionAny 

Best leader position such that the callout is completely visible on the map without panning the map. For iPad, precedence is based on the order - Left, Right, Top, Bottom. For other devices precedence is based on the order - Bottom, Top, Left, Right.