TencentNavKit

Properties | List of all members
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
| read nonatomic assign

导航的原始定位信息.

## ◆ matchedCoordinate

- (CLLocationCoordinate2D) matchedCoordinate
| read nonatomic assign

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

## ◆ matchedCourse

- (CLLocationDirection) matchedCourse
| read nonatomic assign

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

## ◆ matchedIndex

- (NSInteger) matchedIndex
| read nonatomic assign

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

## ◆ mockGPS

- (BOOL) mockGPS
| read nonatomic assign

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

## ◆ phoneDir

- (double) phoneDir
| read nonatomic assign

手机的朝向。

## ◆ remainingDistance

- (int) remainingDistance
| read nonatomic assign

剩余距离， 单位：米

## ◆ remainingTime

- (int) remainingTime
| read nonatomic assign

剩余时间，单位：分钟

## ◆ remainTrafficLightCount

- (int) remainTrafficLightCount
| read nonatomic assign

实时剩余红绿灯个数

Since
  5.2.8

## ◆ routeID

- (NSString*) routeID
| read nonatomic assign

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

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

- TNKLocation.h