00001
00002
00003
00004
00005
00006
00007
00008 #import <UIKit/UIKit.h>
00009
00010
00011 UIKIT_EXTERN NSString *BMMarkerCalloutInfoDidChangeNotification;
00012
00013 @class BMMarkerViewInternal;
00014 @protocol BMMarker;
00015
00016 @interface BMMarkerView : UIView
00017 {
00018 @private
00019 BMMarkerViewInternal *_internal;
00020 }
00021
00022 - (id)initWithMarker:(id <BMMarker>)marker reuseIdentifier:(NSString *)reuseIdentifier;
00023
00024 @property (nonatomic, readonly) NSString *reuseIdentifier;
00025
00026
00027 - (void)prepareForReuse;
00028
00029 @property (nonatomic, retain) id <BMMarker> marker;
00030 @property (nonatomic, retain) UIImage *image;
00031 @property (nonatomic) CGPoint centerOffset;
00032 @property (nonatomic) CGPoint calloutOffset;
00038 @property (nonatomic, getter=isEnabled) BOOL enabled;
00042 @property (nonatomic, getter=isSelected) BOOL selected;
00043 @property (nonatomic) BOOL canShowCallout;
00044 @property (retain, nonatomic) UIView *calloutAccessoryView1;
00045 @property (retain, nonatomic) UIView *calloutAccessoryView2;
00046 - (void)setSelected:(BOOL)selected animated:(BOOL)animated;
00047 @end