BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

构造函数 | 属性 | 所有成员列表
BMKMapTrackAnimation类 参考

`#import <BMKMapAnimation.h>`

类 BMKMapTrackAnimation 继承关系图:

## 构造函数
(BOOL) | - setTrackPosRadio:to:
| 设置轨迹动画的起始和终止比率 更多...
(BOOL) | - setTrackPosRadio:
| 设置轨迹动画的终止比率,起始值是当前位置的比率 更多...
(BOOL) | - setTrackPos:to:
| 设置轨迹动画的起始和终止坐标 更多...
(BOOL) | - setTrackPos:
| 设置轨迹动画的终止坐标，起始值是当前位置的坐标 更多...
(BOOL) | - setTrackLine:
| 设置轨迹 更多...
构造函数 继承自 BMKMapAnimation
(BOOL) | - reset
(BOOL) | - pause
(BOOL) | - resume
(BOOL) | - cancel
(BOOL) | - start

## 属性
id< BMKMapTrackAnimationDelegate > | trackDelegate
CGFloat | fromTrackPosRadio
| 轨迹动画的起始和终止比率，范围0.0~1.0， 默认0.0 更多...
CGFloat | toTrackPosRadio
CLLocationCoordinate2D | fromTrackPos
| 轨迹动画的起始和终止坐标，坐标类型同全局坐标系，内部自动绑路计算动画进度比率 更多...
CLLocationCoordinate2D | toTrackPos
属性 继承自 BMKMapAnimation
BMKAnimationFillMode | fillMode
| 默认BMKAnimationFillAfter 更多...
BMKAnimationRepeatMode | repeatMode
| 默认BMKAnimationRepeatRestart 更多...
NSString * | extParam
NSInteger | startDelay
| When this Animation should start, in milliseconds from the start time of the root AnimationSet 更多...
NSInteger | startTime
NSInteger | duration
NSInteger | repeatCount
| 动画重复次数，不包含默认的一次，默认值为0，动画仅开始执行一次后立即结束；设置为1时，动画开始执行1次后会再重复1次，共2次；设置为负数时，动画将一直执行 更多...
id< BMKMapAnimationDelegate > | delegate
BMKInterpolator * | interpolator
BOOL | isStarted
BOOL | isComplete

## 函数文档

## ◆ setTrackLine:

- (BOOL) setTrackLine: |  | (BMKPolyline *) | trackLine |

设置轨迹

## ◆ setTrackPos:

- (BOOL) setTrackPos: |  | (CLLocationCoordinate2D) | to |

设置轨迹动画的终止坐标，起始值是当前位置的坐标

## ◆ setTrackPos:to:

- (BOOL) setTrackPos: |  | (CLLocationCoordinate2D) | from
to: |  | (CLLocationCoordinate2D) | to

设置轨迹动画的起始和终止坐标

## ◆ setTrackPosRadio:

- (BOOL) setTrackPosRadio: |  | (float) | to |

设置轨迹动画的终止比率,起始值是当前位置的比率

## ◆ setTrackPosRadio:to:

- (BOOL) setTrackPosRadio: |  | (float) | from
to: |  | (float) | to

设置轨迹动画的起始和终止比率

## 属性说明

## ◆ fromTrackPos

- (CLLocationCoordinate2D) fromTrackPos
| read nonatomic assign

轨迹动画的起始和终止坐标，坐标类型同全局坐标系，内部自动绑路计算动画进度比率

## ◆ fromTrackPosRadio

- (CGFloat) fromTrackPosRadio
| read nonatomic assign

轨迹动画的起始和终止比率，范围0.0~1.0， 默认0.0

## ◆ toTrackPos

- (CLLocationCoordinate2D) toTrackPos
| read nonatomic assign

## ◆ toTrackPosRadio

- (CGFloat) toTrackPosRadio
| read nonatomic assign

## ◆ trackDelegate

- (id<BMKMapTrackAnimationDelegate>) trackDelegate
| read write nonatomic weak

该类的文档由以下文件生成:

- BaiduMapAPI_Map.framework/Headers/BMKMapAnimation.h