iOS高德轻量版地图SDK  1.2.0
MAAnimatedAnnotation.h
Go to the documentation of this file.
1 //
2 // MAAnimatedAnnotation.h
3 // MAMapKit
4 //
5 // Created by shaobin on 16/12/8.
6 // Copyright © 2016 Amap. All rights reserved.
7 //
8 
9 #import "MAPointAnnotation.h"
11 
14 
16 @property (nonatomic, assign) CLLocationDirection movingDirection;
17 
26 - (MAAnnotationMoveAnimation *)addMoveAnimationWithKeyCoordinates:(CLLocationCoordinate2D *)coordinates
27  count:(NSUInteger)count
28  withDuration:(CGFloat)duration
29  withName:(NSString *)name
30  completeCallback:(void(^)(BOOL isFinished))completeCallback;
31 
41 - (MAAnnotationMoveAnimation *)addMoveAnimationWithKeyCoordinates:(CLLocationCoordinate2D *)coordinates
42  count:(NSUInteger)count
43  withDuration:(CGFloat)duration
44  withName:(NSString *)name
45  completeCallback:(void(^)(BOOL isFinished))completeCallback
46  stepCallback:(void(^)(MAAnnotationMoveAnimation* currentAni))stepCallback;
47 
52 - (NSArray<MAAnnotationMoveAnimation*> *)allMoveAnimations;
53 
57 - (void)setNeedsStart;
58 
59 @end
MAAnimatableAnnotation-p
Definition: MAAnnotation.h:39
MAPointAnnotation
点标注数据
Definition: MAPointAnnotation.h:14
-[MAAnimatedAnnotation allMoveAnimations]
NSArray< MAAnnotationMoveAnimation * > * allMoveAnimations()
获取所有未完成的移动动画, 返回数组内为MAAnnotationMoveAnimation对象.
MAPointAnnotation.h
MAAnnotationMoveAnimation
annotation移动动画.
Definition: MAAnnotationMoveAnimation.h:14
MAAnnotationMoveAnimation.h
MAAnimatedAnnotation::movingDirection
CLLocationDirection movingDirection
移动方向.
Definition: MAAnimatedAnnotation.h:16
-[MAAnimatedAnnotation setNeedsStart]
void setNeedsStart()
设置需要开始动画,自定义其他类型动画时需要调用.
MAAnimatedAnnotation
支持动画效果的点标注
Definition: MAAnimatedAnnotation.h:13
© 2020 高德信息技术有限公司版权所有,保留所有权利。