TencentNavKit
<TNKLocationSimulator> Protocol Reference

模拟定位模式 More...

#import <TNKLocationSimulator.h>

Inheritance diagram for <TNKLocationSimulator>:

Properties

BOOL enabled
 是否启用模拟导航功能,默认为NO。需要在导航开启前设置 More...
 
TNKSimulateLocationsType simulateLocationsType
 模拟定位模式 More...
 
int simulationSpeed
 模拟导航车速,单位km/h,根据路线模拟定位模式时生效,导航过程设置中依然生效 驾车导航:设置范围[5,120],默认55; 步骑行导航:设置范围[2,120],默认5; More...
 
NSString * filePath
 轨迹回放的gps文件路径。轨迹回放模式时生效 More...
 

Detailed Description

模拟定位模式

定位模拟器,用于调试。

Property Documentation

◆ enabled

- (BOOL) enabled
readwritenonatomicassign

是否启用模拟导航功能,默认为NO。需要在导航开启前设置

◆ filePath

- (NSString*) filePath
readwritenonatomiccopy

轨迹回放的gps文件路径。轨迹回放模式时生效

◆ simulateLocationsType

- (TNKSimulateLocationsType) simulateLocationsType
readwritenonatomicassign

模拟定位模式

◆ simulationSpeed

- (int) simulationSpeed
readwritenonatomicassign

模拟导航车速,单位km/h,根据路线模拟定位模式时生效,导航过程设置中依然生效 驾车导航:设置范围[5,120],默认55; 步骑行导航:设置范围[2,120],默认5;


The documentation for this protocol was generated from the following file: