iOS高德地图SDK(3D) V11.2.0001

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 "MAConfig.h"
10 #import "MAPointAnnotation.h"
11 #import "MAAnnotationMoveAnimation.h"
12
15 @interface MAAnimatedAnnotation : MAPointAnnotation<MAAnimatableAnnotation>
16
19 @property (nonatomic, assign) CLLocationDirection movingDirection;
20
35 - (MAAnnotationMoveAnimation *)addMoveAnimationWithKeyCoordinates:(CLLocationCoordinate2D *)coordinates
36 count:(NSUInteger)count
37 withDuration:(CGFloat)duration
38 withName:(NSString *)name
39 completeCallback:(void(^)(BOOL isFinished))completeCallback;
40
57 - (MAAnnotationMoveAnimation *)addMoveAnimationWithKeyCoordinates:(CLLocationCoordinate2D *)coordinates
58 count:(NSUInteger)count
59 withDuration:(CGFloat)duration
60 withName:(NSString *)name
61 completeCallback:(void(^)(BOOL isFinished))completeCallback
62 stepCallback:(void(^)(MAAnnotationMoveAnimation* currentAni))stepCallback;
63
70 - (NSArray<MAAnnotationMoveAnimation*> *)allMoveAnimations;
71
76 - (void)setNeedsStart;
77
78 @end
MAAnnotationMoveAnimation.h
MAConfig.h
MAPointAnnotation.h
MAAnimatedAnnotation
Definition: MAAnimatedAnnotation.h:15
-[MAAnimatedAnnotation allMoveAnimations]
NSArray< MAAnnotationMoveAnimation * > * allMoveAnimations()
获取所有未完成的移动动画, 返回数组内为MAAnnotationMoveAnimation对象. since 4.5.0 Retrieve all unfinished move animations,...
-[MAAnimatedAnnotation setNeedsStart]
void setNeedsStart()
设置需要开始动画，自定义其他类型动画时需要调用. since 6.0.0 Settings require starting animation, which needs to be called wh...
MAAnimatedAnnotation::movingDirection
CLLocationDirection movingDirection
Definition: MAAnimatedAnnotation.h:19
MAAnnotationMoveAnimation
Definition: MAAnnotationMoveAnimation.h:17
MAPointAnnotation
Definition: MAPointAnnotation.h:16
MAAnimatableAnnotation-p
Definition: MAAnnotation.h:52
© 2017 高德信息技术有限公司 版权所有，保留所有权利。