10 #import <UIKit/UIKit.h>
46 @property (nonatomic, assign) NSInteger
zIndex;
50 @property (nonatomic, strong) id <MAAnnotation>
annotation;
54 @property (nonatomic, strong) UIImage *
image;
58 @property (nonatomic, strong, readonly) UIImageView *
imageView;
74 @property (nonatomic, getter=isEnabled) BOOL
enabled;
82 @property (nonatomic, getter=isSelected) BOOL
selected;
98 @property (nonatomic, getter=isDraggable) BOOL
draggable;
120 - (void)setSelected:(BOOL)selected animated:(BOOL)animated;
132 - (id)initWithAnnotation:(
id <
MAAnnotation>)annotation reuseIdentifier:(NSString *)reuseIdentifier;
MAAnnotationViewDragState
Definition: MAAnnotationView.h:16
@ MAAnnotationViewDragStateStarting
开始拖动 start dragging
Definition: MAAnnotationView.h:18
@ MAAnnotationViewDragStateEnding
拖动结束 end dragging
Definition: MAAnnotationView.h:21
@ MAAnnotationViewDragStateNone
静止状态 stationary state
Definition: MAAnnotationView.h:17
@ MAAnnotationViewDragStateDragging
拖动中 dragging
Definition: MAAnnotationView.h:19
@ MAAnnotationViewDragStateCanceling
取消拖动 cancel dragging
Definition: MAAnnotationView.h:20
Definition: MAAnnotationView.h:29
MAAnnotationViewDragState dragState
Definition: MAAnnotationView.h:102
NSInteger zIndex
Definition: MAAnnotationView.h:46
NSString * reuseIdentifier
Definition: MAAnnotationView.h:32
BOOL draggable
Definition: MAAnnotationView.h:98
UIImageView * imageView
Definition: MAAnnotationView.h:58
NSNumber * displayOrder
Definition: MAAnnotationView.h:37
CGPoint centerOffset
Definition: MAAnnotationView.h:66
BOOL isOpenCollisionDetection
Definition: MAAnnotationView.h:110
MACustomCalloutView * customCalloutView
Definition: MAAnnotationView.h:62
CGPoint calloutOffset
Definition: MAAnnotationView.h:70
UIView * rightCalloutAccessoryView
Definition: MAAnnotationView.h:94
UIView * leftCalloutAccessoryView
Definition: MAAnnotationView.h:90
BOOL canShowCallout
Definition: MAAnnotationView.h:86
BOOL highlighted
Definition: MAAnnotationView.h:78
UIImage * image
Definition: MAAnnotationView.h:54
NSNumber * calloutDisplayOrder
Definition: MAAnnotationView.h:42
BOOL selected
Definition: MAAnnotationView.h:82
BOOL canAdjustPositon
Definition: MAAnnotationView.h:106
void prepareForReuse()
当从reuse队列里取出时被调用, 子类重新必须调用super Called when taken out of the reuse queue, the subclass must call supe...
id< MAAnnotation > annotation
Definition: MAAnnotationView.h:50
BOOL enabled
Definition: MAAnnotationView.h:74
Definition: MACustomCalloutView.h:15
Definition: MAAnnotation.h:17