9#import <Foundation/Foundation.h>
10#import <CoreLocation/CoreLocation.h>
12NS_ASSUME_NONNULL_BEGIN
23@property (nonatomic, readonly) CLLocation *
location;
33@property (nonatomic, readonly, nullable) NSString *
routeID;
48@property (nonatomic, readonly)
double phoneDir;
53@property (nonatomic, readonly) BOOL
mockGPS;
导航的定位信息.
Definition: TNKLocation.h:19
CLLocation * location
导航的原始定位信息.
Definition: TNKLocation.h:23
double phoneDir
手机的朝向。
Definition: TNKLocation.h:48
NSString * routeID
导航吸附信息所属的路线ID.
Definition: TNKLocation.h:33
CLLocationCoordinate2D matchedCoordinate
吸附到导航路线上的经纬度信息. 若未成功吸附到路线上会返回kCLLocationCoordinate2DInvalid.
Definition: TNKLocation.h:38
NSInteger matchedIndex
吸附到导航路线上的位置索引. 若未成功吸附到路线上会返回-1
Definition: TNKLocation.h:28
int remainTrafficLightCount
实时剩余红绿灯个数
Definition: TNKLocation.h:69
int remainingTime
剩余时间,单位:分钟
Definition: TNKLocation.h:63
CLLocationDirection matchedCourse
吸附到导航路线上的角度信息. 若未成功吸附到路线上会返回-1.0
Definition: TNKLocation.h:43
int remainingDistance
剩余距离, 单位:米
Definition: TNKLocation.h:58
BOOL mockGPS
该点是否是惯性导航模拟点
Definition: TNKLocation.h:53