BaiduMap_IOSSDK_v7.1.0_Docs  7.1.0
构造函数 | 属性 | 所有成员列表
BMKDrivingStep类 参考

此类表示驾车路线中的一个路段 更多...

#import <BMKRouteSearchType.h>

类 BMKDrivingStep 继承关系图:
BMKRouteStep

构造函数

(NSString *entraceInstruction) - __deprecated_msg
 路段入口的指示信息 更多...
 
(NSString *exitInstruction) - __deprecated_msg
 路段出口指示信息 更多...
 
(int numTurns) - __deprecated_msg
 路段需要转弯数 更多...
 
(NSArray< NSNumber * > *traffics) - __deprecated_msg
 路段的路况信息,成员为NSNumber。0:无数据;1:畅通;2:缓慢;3:拥堵 4:严重拥堵 更多...
 

属性

int direction
 该路段起点方向值 更多...
 
BMKRouteNodeentrace
 路段入口信息 更多...
 
BMKRouteNodeexit
 路段出口信息 更多...
 
NSString * instruction
 路段总体指示信息 更多...
 
BOOL hasTrafficsInfo
 路段是否有路况信息 更多...
 
NSArray< BMKTrafficCondition * > * trafficCondition
 路段的路况详情信息 since 7.0.1 更多...
 
int roadLevel
 
NSString * roadName
 道路名称 Since 6.3.0 更多...
 
NSInteger legIndex
 
NSInteger toll
 since 7.0.1 分段道路收费,单位:元 更多...
 
NSInteger tollDistance
 since 7.0.1 分段道路收费路程,单位:米 更多...
 
NSString * tollGateName
 since 7.0.1 收费站名称 更多...
 
BMKRouteNodetollGateLocation
 since 7.0.1 收费站位置 更多...
 
NSString * adcodes
 since 7.0.1 分段途经的城市编码 更多...
 
- 属性 继承自 BMKRouteStep
int distance
 路段长度 单位: 米 更多...
 
int duration
 路段耗时 单位: 秒 更多...
 
BMKMapPointpoints
 路段所经过的地理坐标集合 更多...
 
int pointsCount
 路段所经过的地理坐标集合内点的个数 更多...
 

详细描述

此类表示驾车路线中的一个路段

函数文档

◆ __deprecated_msg [1/4]

- (NSString* entraceInstruction) __deprecated_msg ("since 7.0.1") 

路段入口的指示信息

◆ __deprecated_msg [2/4]

- (NSString* exitInstruction) __deprecated_msg ("since 7.0.1") 

路段出口指示信息

◆ __deprecated_msg [3/4]

- (int numTurns) __deprecated_msg ("since 7.0.1") 

路段需要转弯数

◆ __deprecated_msg [4/4]

- (NSArray<NSNumber *>* traffics) __deprecated_msg ("since 7.0.)  1
(use trafficCondition instead")   

路段的路况信息,成员为NSNumber。0:无数据;1:畅通;2:缓慢;3:拥堵 4:严重拥堵

属性说明

◆ adcodes

- (NSString*) adcodes
readwritenonatomiccopy

since 7.0.1 分段途经的城市编码

◆ direction

- (int) direction
readwritenonatomicassign

该路段起点方向值

◆ entrace

- (BMKRouteNode*) entrace
readwritenonatomicstrong

路段入口信息

◆ exit

- (BMKRouteNode*) exit
readwritenonatomicstrong

路段出口信息

◆ hasTrafficsInfo

- (BOOL) hasTrafficsInfo
readwritenonatomicassign

路段是否有路况信息

◆ instruction

- (NSString*) instruction
readwritenonatomiccopy

路段总体指示信息

◆ legIndex

- (NSInteger) legIndex
readwritenonatomicassign

since 7.0.1 途径点序号 途径点序号为从0开始的整数,用于标识step所属的途径点路段如:若该step属于起点至第一个途径中的路段,则其leg_index为0

◆ roadLevel

- (int) roadLevel
readwritenonatomicassign

道路类型(Since 5.1.0) 枚举值:返回0-9之间的值 0:高速路 1:城市高速路 2: 国道 3:省道 4:县道 5:乡镇村道 6:其他道路 7:九级路 8:航线(轮渡) 9:行人道路

◆ roadName

- (NSString*) roadName
readwritenonatomiccopy

道路名称 Since 6.3.0

◆ toll

- (NSInteger) toll
readwritenonatomicassign

since 7.0.1 分段道路收费,单位:元

◆ tollDistance

- (NSInteger) tollDistance
readwritenonatomicassign

since 7.0.1 分段道路收费路程,单位:米

◆ tollGateLocation

- (BMKRouteNode*) tollGateLocation
readwritenonatomicstrong

since 7.0.1 收费站位置

◆ tollGateName

- (NSString*) tollGateName
readwritenonatomiccopy

since 7.0.1 收费站名称

◆ trafficCondition

- (NSArray<BMKTrafficCondition *>*) trafficCondition
readwritenonatomiccopy

路段的路况详情信息 since 7.0.1


该类的文档由以下文件生成: