#import <MAAnnotation.h>
◆ isAnimationFinished()
- (BOOL MAAnimatableAnnotation) isAnimationFinished |
|
|
|
|
required |
动画是否已完成. 通过此方法判断是否需要将动画annotation移出渲染执行过程。(since 4.5.0)
- Returns
- YES动画已完成,NO没有完成
◆ rotateDegree()
- (CLLocationDirection MAAnimatableAnnotation) rotateDegree |
|
|
|
|
optional |
动画更新时调用此接口,获取annotationView的旋转角度,不实现默认为0. (since 4.5.0)
- Returns
- 当前annotation的旋转角度
◆ shouldAnimationStart()
- (BOOL MAAnimatableAnnotation) shouldAnimationStart |
|
|
|
|
required |
动画是否可以开始. 通过此方法判断是否需要将动画annotation加入渲染过程,已经start且尚未finish的动画标注才会调用step方法。(since 6.0.0)
- Returns
- YES 可以开始,NO 尚未开始。
◆ step:()
- (void MAAnimatableAnnotation) step: |
|
(CGFloat) |
timeDelta |
|
|
required |
动画帧更新回调接口,实现者可在内部做更新处理,如更新coordinate. (since 4.5.0)
- Parameters
-
The documentation for this protocol was generated from the following file: