Inherits from UIView
Declared in OSAnnotationView.h

Tasks

Properties

annotation

@property (nonatomic, retain) id<OSAnnotation> annotation

calloutOffset

@property (nonatomic, assign) CGPoint calloutOffset

canShowCallout

Defaults to false.

@property (nonatomic, assign) bool canShowCallout

Declared In

OSAnnotationView.h

centerOffset

@property (nonatomic, assign) CGPoint centerOffset

dragState

@property (nonatomic, assign) OSAnnotationViewDragState dragState

draggable

@property (nonatomic, getter=isDraggable) bool draggable

enabled

Defaults to YES.

@property (nonatomic, getter=isEnabled) BOOL enabled

Declared In

OSAnnotationView.h

highlighted

@property (nonatomic, getter=isHighlighted) BOOL highlighted

image

@property (nonatomic, strong) UIImage *image

leftCalloutAccessoryView

@property (nonatomic, strong) UIView *leftCalloutAccessoryView

reuseIdentifier

@property (nonatomic, copy, readonly) NSString *reuseIdentifier

rightCalloutAccessoryView

@property (nonatomic, strong) UIView *rightCalloutAccessoryView

selected

@property (nonatomic, getter=isSelected) BOOL selected

Instance Methods

initWithAnnotation:reuseIdentifier:

- (id)initWithAnnotation:(id<OSAnnotation>)annotation reuseIdentifier:(NSString *)reuseIdentifier

prepareForReuse

- (void)prepareForReuse

setDragState:animated:

Override this to support animations while dragging. Classes which override this should super-call.

- (void)setDragState:(OSAnnotationViewDragState)newDragState animated:(BOOL)animated

Declared In

OSAnnotationView.h

setSelected:animated:

- (void)setSelected:(BOOL)selected animated:(BOOL)animated