SGAnnotationView.h


Use the links in the table of contents to the left to access the documentation.



Classes

SGAnnotationView

Used to display information about SGAnnotation in an AR enviornment.

Protocols

SGAnnotationViewDelegate

Callback methods for SGAnnotationViews they recieve touch events. discussion Every annotation view has two modes: target and inspect. Target is the default mode. When the view is clicked, shouldInspectAnnotationView: is called. If the delegate returns a view, the annotation view will move into inspect mode.



Enumerated Types

Inspector Styles

The style of the view when it is being inspected.

SGAnnotationViewInspectorType

The style of the view when it is being inspected.

SGAnnotationViewTargetType

The style of the view when it is loaded in the SGARView .

Target Styles

The style of the view when it is loaded in the SGARView .


Inspector Styles


The style of the view when it is being inspected.

See Also:

SGAnnotationViewInspectorType

enum SGAnnotationViewInspectorType {  
    kSGAnnotationViewInspectorType_None = 0, 
    kSGAnnotationViewInspectorType_Standard, 
    kSGAnnotationViewInspectorType_Message, 
    kSGAnnotationViewInspectorType_Photo, 
    kSGAnnotationViewInspectorType_Custom  
};  
Constants
kSGAnnotationViewInspectorType_None

When inspected, nothing will show.

kSGAnnotationViewInspectorType_Standard

Displays a title, date, and the target image.

kSGAnnotationViewInspectorType_Message

Displays a title, date, message, and the target image.

kSGAnnotationViewInspectorType_Photo

Displays a title, date, message, photo, and the target image.

kSGAnnotationViewInspectorType_Custom

Displays the current layout of the view.

Discussion

The default style is kSGAnnotationViewInspectorType_Standard.


SGAnnotationViewInspectorType


The style of the view when it is being inspected.

See Also:

Inspector

enum SGAnnotationViewInspectorType {  
    kSGAnnotationViewInspectorType_None = 0, 
    kSGAnnotationViewInspectorType_Standard, 
    kSGAnnotationViewInspectorType_Message, 
    kSGAnnotationViewInspectorType_Photo, 
    kSGAnnotationViewInspectorType_Custom  
};  
Constants
kSGAnnotationViewInspectorType_None

When inspected, nothing will show.

kSGAnnotationViewInspectorType_Standard

Displays a title, date, and the target image.

kSGAnnotationViewInspectorType_Message

Displays a title, date, message, and the target image.

kSGAnnotationViewInspectorType_Photo

Displays a title, date, message, photo, and the target image.

kSGAnnotationViewInspectorType_Custom

Displays the current layout of the view.

Discussion

The default style is kSGAnnotationViewInspectorType_Standard.


SGAnnotationViewTargetType


The style of the view when it is loaded in the SGARView.

See Also:

Target

enum SGAnnotationViewTargetType {  
    kSGAnnotationViewTargetType_Pin = 0, 
    kSGAnnotationViewTargetType_Glass, 
    kSGAnnotationViewTargetType_Custom  
};  
Constants
kSGAnnotationViewTargetType_Pin

Displays a pin that resemebles the pin from MKPinAnnotationView.

kSGAnnotationViewTargetType_Glass

Displays the Target image over a glassy, pointed square.

kSGAnnotationViewTargetType_Custom

Displays the current layout of the view.

Discussion

The default style is kSGAnnotationViewTargetType_Pin.


Target Styles


The style of the view when it is loaded in the SGARView.

See Also:

SGAnnotationViewTargetType

enum SGAnnotationViewTargetType {  
    kSGAnnotationViewTargetType_Pin = 0, 
    kSGAnnotationViewTargetType_Glass, 
    kSGAnnotationViewTargetType_Custom  
};  
Constants
kSGAnnotationViewTargetType_Pin

Displays a pin that resemebles the pin from MKPinAnnotationView.

kSGAnnotationViewTargetType_Glass

Displays the Target image over a glassy, pointed square.

kSGAnnotationViewTargetType_Custom

Displays the current layout of the view.

Discussion

The default style is kSGAnnotationViewTargetType_Pin.

© SimpleGeo Last Updated: 03/31/2010