TencentNavKit
TNKLocation Class Reference

导航的定位信息. More...

#import <TNKLocation.h>

Inheritance diagram for TNKLocation:

Properties

CLLocation * location
 导航的原始定位信息. More...
 
NSInteger matchedIndex
 吸附到导航路线上的位置索引. 若未成功吸附到路线上会返回-1 More...
 
NSString * routeID
 导航吸附信息所属的路线ID. More...
 
CLLocationCoordinate2D matchedCoordinate
 吸附到导航路线上的经纬度信息. 若未成功吸附到路线上会返回kCLLocationCoordinate2DInvalid. More...
 
CLLocationDirection matchedCourse
 吸附到导航路线上的角度信息. 若未成功吸附到路线上会返回-1.0 More...
 
double phoneDir
 手机的朝向。 More...
 
BOOL mockGPS
 该点是否是惯性导航模拟点 More...
 
int remainingDistance
 剩余距离, 单位:米 More...
 
int remainingTime
 剩余时间,单位:分钟 More...
 
int remainTrafficLightCount
 实时剩余红绿灯个数 More...
 

Detailed Description

导航的定位信息.

Property Documentation

◆ location

- (CLLocation*) location
readnonatomicassign

导航的原始定位信息.

◆ matchedCoordinate

- (CLLocationCoordinate2D) matchedCoordinate
readnonatomicassign

吸附到导航路线上的经纬度信息. 若未成功吸附到路线上会返回kCLLocationCoordinate2DInvalid.

◆ matchedCourse

- (CLLocationDirection) matchedCourse
readnonatomicassign

吸附到导航路线上的角度信息. 若未成功吸附到路线上会返回-1.0

◆ matchedIndex

- (NSInteger) matchedIndex
readnonatomicassign

吸附到导航路线上的位置索引. 若未成功吸附到路线上会返回-1

◆ mockGPS

- (BOOL) mockGPS
readnonatomicassign

该点是否是惯性导航模拟点

◆ phoneDir

- (double) phoneDir
readnonatomicassign

手机的朝向。

◆ remainingDistance

- (int) remainingDistance
readnonatomicassign

剩余距离, 单位:米

◆ remainingTime

- (int) remainingTime
readnonatomicassign

剩余时间,单位:分钟

◆ remainTrafficLightCount

- (int) remainTrafficLightCount
readnonatomicassign

实时剩余红绿灯个数

Since
5.2.8

◆ routeID

- (NSString*) routeID
readnonatomicassign

导航吸附信息所属的路线ID.


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