MBMapkit
|
00001 // 00002 // MBPinAnnotationView.h 00003 // MBMapKit 00004 // 00005 // Copyright 2011 Mapbar Inc. All rights reserved. 00006 // 00007 00008 #import "MBAnnotationView.h" 00009 00010 enum 00011 { 00012 MBPinAnnotationColorRed = 0, 00013 MBPinAnnotationColorGreen, 00014 MBPinAnnotationColorPurple 00015 }; 00017 typedef NSUInteger MBPinAnnotationColor; 00018 00025 @interface MBPinAnnotationView : MBAnnotationView 00026 { 00027 @private 00028 MBPinAnnotationColor _pinColor; 00029 CGPoint _originPosition; 00030 UITouch *_touch; 00031 UIImageView *_pinDownView; 00032 UIImageView *_pinFloatingView; 00033 UIImageView *_pinShadowView; 00034 NSString *_color; 00035 BOOL _animatesDrop; 00036 } 00037 00045 @property (nonatomic) MBPinAnnotationColor pinColor; 00046 00053 @property (nonatomic) BOOL animatesDrop; 00054 00055 @end