Initial commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* BMKPinAnnotationView.h
|
||||
* BMapKit
|
||||
*
|
||||
* Copyright 2011 Baidu Inc. All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
#import "BMKAnnotationView.h"
|
||||
enum {
|
||||
BMKPinAnnotationColorRed = 0,
|
||||
BMKPinAnnotationColorGreen,
|
||||
BMKPinAnnotationColorPurple
|
||||
};
|
||||
typedef NSUInteger BMKPinAnnotationColor;
|
||||
|
||||
///提供类似大头针效果的annotation view
|
||||
@interface BMKPinAnnotationView : BMKAnnotationView
|
||||
{
|
||||
@private
|
||||
BMKPinAnnotationColor _pinColor;
|
||||
BOOL _animatesDrop;
|
||||
}
|
||||
///大头针的颜色,有BMKPinAnnotationColorRed, BMKPinAnnotationColorGreen, BMKPinAnnotationColorPurple三种
|
||||
@property (nonatomic) BMKPinAnnotationColor pinColor;
|
||||
///动画效果
|
||||
@property (nonatomic) BOOL animatesDrop;
|
||||
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user