9#import <Foundation/Foundation.h>
10#import <CoreLocation/CLLocation.h>
14NS_ASSUME_NONNULL_BEGIN
16typedef enum : NSUInteger {
31typedef enum : NSInteger {
47typedef enum : NSUInteger {
56typedef enum : NSUInteger {
63@protocol BMKMapAnimationDelegate <NSObject>
74@property (nonatomic, strong) NSString *
extParam;
79@property(nonatomic, assign) NSInteger
duration;
82@property(nonatomic, weak) id<BMKMapAnimationDelegate>
delegate;
100@property(nonatomic, readonly)
float fromAlpha;
101@property(nonatomic, readonly)
float toAlpha;
103- (instancetype)initWithFromAlpha:(
float)from to:(
float)to;
107@property(nonatomic, readonly)
float fromDegrees;
108@property(nonatomic, readonly)
float toDegrees;
110- (instancetype)initWithFromDegrees:(
float)from to:(
float)to;
115@property(nonatomic, readonly) CGSize from;
117@property(nonatomic, readonly) CGSize to;
119- (instancetype)initWithFromSizeScale:(CGSize)fromSizeScale to:(CGSize)toSizeScale;
124@property(nonatomic, readonly) CLLocationCoordinate2D from;
125@property(nonatomic, readonly) CLLocationCoordinate2D to;
127- (instancetype)initWithFromPoint:(CLLocationCoordinate2D)from to:(CLLocationCoordinate2D)to;
133@protocol BMKMapTrackAnimationDelegate <NSObject>
135- (void)animation:(nullable
BMKMapTrackAnimation *)animation position:(CLLocationCoordinate2D)pt angle:(
float)angle fraction:(
float)fraction;
139@property(nonatomic, weak) id<BMKMapTrackAnimationDelegate> trackDelegate;
141@property (nonatomic, readonly) CGFloat fromTrackPosRadio;
142@property (nonatomic, readonly) CGFloat toTrackPosRadio;
144@property (nonatomic, readonly) CLLocationCoordinate2D fromTrackPos;
145@property (nonatomic, readonly) CLLocationCoordinate2D toTrackPos;
148- (BOOL)setTrackPosRadio:(
float)from to:(
float)to;
150- (BOOL)setTrackPosRadio:(
float)to;
152- (BOOL)setTrackPos:(CLLocationCoordinate2D)from to:(CLLocationCoordinate2D)to;
154- (BOOL)setTrackPos:(CLLocationCoordinate2D)to;
BMKAnimationSetOrderType
Definition BMKMapAnimation.h:56
@ BMKAnimationSetOrderTypeWith
Definition BMKMapAnimation.h:57
@ BMKAnimationSetOrderTypeThen
Definition BMKMapAnimation.h:58
BMKAnimationStatus
Definition BMKMapAnimation.h:47
@ BMKAnimationRepeat
Definition BMKMapAnimation.h:50
@ BMKAnimationStatusEnd
Definition BMKMapAnimation.h:49
@ BMKAnimationStatusStart
Definition BMKMapAnimation.h:48
BMKAnimationRepeatMode
Definition BMKMapAnimation.h:31
@ BMKAnimationRepeatRestart
Definition BMKMapAnimation.h:37
@ BMKAnimationReleatReserse
Definition BMKMapAnimation.h:42
BMKAnimationFillMode
Definition BMKMapAnimation.h:16
@ BMKAnimationFillBefore
Definition BMKMapAnimation.h:20
@ BMKAnimationFillAfter
Definition BMKMapAnimation.h:28
@ BMKAnimationFillFirst
Definition BMKMapAnimation.h:24
Definition BMKInterpolator.h:54
Definition BMKMapAnimation.h:100
Definition BMKMapAnimation.h:70
BMKInterpolator * interpolator
Definition BMKMapAnimation.h:83
NSString * extParam
Definition BMKMapAnimation.h:74
NSInteger startTime
Definition BMKMapAnimation.h:78
NSInteger duration
Definition BMKMapAnimation.h:79
id< BMKMapAnimationDelegate > delegate
Definition BMKMapAnimation.h:82
BOOL isStarted
Definition BMKMapAnimation.h:85
BMKAnimationFillMode fillMode
默认BMKAnimationFillAfter
Definition BMKMapAnimation.h:71
NSInteger repeatCount
动画重复次数,不包含默认的一次,默认值为0,动画仅开始执行一次后立即结束;设置为1时,动画开始执行1次后会再重复1次,共2次;设置为负数时,动画将一直执行
Definition BMKMapAnimation.h:81
NSInteger startDelay
When this Animation should start, in milliseconds from the start time of the root AnimationSet
Definition BMKMapAnimation.h:77
BOOL isComplete
Definition BMKMapAnimation.h:86
BMKAnimationRepeatMode repeatMode
默认BMKAnimationRepeatRestart
Definition BMKMapAnimation.h:73
Definition BMKMapAnimation.h:161
Definition BMKMapAnimation.h:107
Definition BMKMapAnimation.h:114
Definition BMKMapAnimation.h:139
Definition BMKMapAnimation.h:124
此类用于定义一段折线
Definition BMKPolyline.h:16