Map Doc
1.0
iOS-引擎SDK-开放平台
|
#import <MBGpsSimulator.h>
构造函数 | |
(void) | - setRecordGPS: |
(void) | - setUseSimGPS: |
(NSInteger) | - getCurMaxSimGPSIndex |
(NSInteger) | - getCurSimGPSIndex |
(void) | - setCurSimGPSIndex: |
(float) | - getCurSimGPSSpeed |
(void) | - setCurSimGPSSpeed: |
类方法 | |
(MBGpsSimulator *) | + defaultGpsSimulator |
Gps模拟
+ (MBGpsSimulator *) defaultGpsSimulator |
得到单例
- (NSInteger) getCurMaxSimGPSIndex |
得到当前Gps最大点索引
- (NSInteger) getCurSimGPSIndex |
得到当前Gps索引
- (float) getCurSimGPSSpeed |
得到Gps模拟速度
- (void) setCurSimGPSIndex: | (NSInteger) | index |
设置当前Gps模拟索引
index | 索引 |
- (void) setCurSimGPSSpeed: | (float) | speed |
设置Gps模拟速度
speed | 速度 |
- (void) setRecordGPS: | (BOOL) | recordGPS |
记录GPS
recordGPS | YES 表示记录 |
- (void) setUseSimGPS: | (BOOL) | useSimGPS |
使用模拟
useSimGPS | YES 表示使用 |