TencentNavKit
TNKDriveNavRoute Class Reference

导航过程中的路线实时数据 More...

#import <TNKDriveCommonObj.h>

Inheritance diagram for TNKDriveNavRoute:

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(instancetype) - initWithSearchRoute:
 构造方法 More...
 

Properties

TNKDriveRoutesearchRoute
 算路的路线数据类 More...
 
int remainingDistance
 当前位置到途径点剩余距离, 单位:米 More...
 
int remainingTime
 当前位置到途径点剩余时间,单位:分钟 More...
 
NSArray< TNKRouteTrafficItem * > * curTrafficItems
 当前路况数据 More...
 
TNKLocationlocation
 当前定位信息 More...
 
int distBetweenOrginAndRouteFistPoint
 导航的起点与当前路线的首个点的距离。如果这条路线是偏航重算的路线,那么该值就是从导航开始到偏航时走过的距离。 More...
 

Detailed Description

导航过程中的路线实时数据

Method Documentation

◆ initWithSearchRoute:

- (instancetype) initWithSearchRoute: (TNKDriveRoute *)  searchRoute

构造方法

◆ NS_UNAVAILABLE

- (instancetype) NS_UNAVAILABLE

Property Documentation

◆ curTrafficItems

- (NSArray<TNKRouteTrafficItem *>*) curTrafficItems
readnonatomicassign

当前路况数据

◆ distBetweenOrginAndRouteFistPoint

- (int) distBetweenOrginAndRouteFistPoint
readnonatomicassign

导航的起点与当前路线的首个点的距离。如果这条路线是偏航重算的路线,那么该值就是从导航开始到偏航时走过的距离。

◆ location

- (TNKLocation*) location
readnonatomicassign

当前定位信息

◆ remainingDistance

- (int) remainingDistance
readnonatomicassign

当前位置到途径点剩余距离, 单位:米

◆ remainingTime

- (int) remainingTime
readnonatomicassign

当前位置到途径点剩余时间,单位:分钟

◆ searchRoute

- (TNKDriveRoute*) searchRoute
readnonatomicassign

算路的路线数据类


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