高德地图SDK(导航) V11.2.000
Loading...
Searching...
No Matches
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"
12
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
Definition MAAnimatedAnnotation.h:15
NSArray< MAAnnotationMoveAnimation * > * allMoveAnimations()
获取所有未完成的移动动画, 返回数组内为MAAnnotationMoveAnimation对象. since 4.5.0 Retrieve all unfinished move animations,...
void setNeedsStart()
设置需要开始动画,自定义其他类型动画时需要调用. since 6.0.0 Settings require starting animation, which needs to be called wh...
CLLocationDirection movingDirection
Definition MAAnimatedAnnotation.h:19
Definition MAAnnotationMoveAnimation.h:17
Definition MAPointAnnotation.h:16
Definition MAAnnotation.h:52
© 2017 高德信息技术有限公司 版权所有,保留所有权利。