00001
00002
00003
00004
00005
00006
00007
00008
00009 #import <Foundation/Foundation.h>
00010 #import "BMPushpinView.h"
00011 #import "BMImageAnimationView.h"
00012
00013 @class BMPushpinView;
00014 @interface BMPushpinViewInternal : NSObject {
00015 BMPushpinView *owner ;
00016 BMPushpinColor pinColor;
00017 BOOL animatesDrop;
00018 BMImageAnimationView *shadowAnim ;
00019 BMImageAnimationView *pinAnim ;
00020 BOOL isAnimShowing ;
00021
00022 CGRect sensitiveZone ;
00023 }
00024
00025
00026 typedef enum {
00027 defaultState,
00028 clicked,
00029 animated
00030 }pin_state;
00031
00032 @property (nonatomic,assign) BMPushpinColor pinColor;
00033 @property (nonatomic,assign) BOOL animatesDrop;
00034 @property (nonatomic,assign) BOOL isAnimShowing ;
00035 @property (nonatomic,assign) CGRect sensitiveZone ;
00036
00037 -(id) initWithOwner:(BMPushpinView*) view;
00038 -(void)addMarkerViewAfterAnimation ;
00039 -(UIImage *) getImageForPin:(BMPushpinColor)color state:(pin_state) pinState;
00040 -(void)animatePinDrop;
00041 -(void) cancelAnimations;
00042
00043 @end