MBMapkit
|
00001 // 00002 // MBCalloutView.h 00003 // MBMapKit 00004 // 00005 // Copyright 2011 Mapbar Inc. All rights reserved. 00006 // 00007 00008 #import <UIKit/UIKit.h> 00009 00010 @class MBMapView; 00011 @class MBAnnotationView; 00012 @interface MBCalloutView : UIView 00013 { 00014 UILabel* m_title; 00015 UILabel* m_subtitle; 00016 CGRect _endFrame; 00017 CGPoint m_anchor; 00018 CGPoint m_offset; 00019 UIView* m_leftView; 00020 UIView* m_rightView; 00021 00022 UIImage* m_bkgLeft; 00023 UIImage* m_bkgCenter; 00024 UIImage* m_bkgRight; 00025 00026 UIControl* m_centralView; 00027 } 00028 @property (nonatomic, retain) MBAnnotationView *annotationView; 00029 @property (nonatomic, retain) MBMapView *mapView; 00030 @property (nonatomic, assign) BOOL animated; 00031 @property (nonatomic, copy) NSString *title; 00032 @property (nonatomic, copy) NSString *subtitle; 00033 @property (nonatomic, retain) UIView* leftView; 00034 @property (nonatomic, retain) UIView* rightView; 00035 @property (nonatomic, readonly) UIControl* centralView; 00036 00037 -(void)setAnchorPoint; 00038 @end