BaiduMap_IOSSDK_v6.6.5_Docs 6.6.5
载入中...
搜索中...
未找到
属性 | 所有成员列表
BMKBusRouteStep类 参考

#include <BMKBusRouteSearchResult.h>

类 BMKBusRouteStep 继承关系图:

属性

BMKMassTransitType stepType
 
NSString * instruction
 当前step的指引文字描述,驾车无该字段
 
NSInteger distance
 
NSInteger duration
 耗时,单位:秒
 
NSString * startName
 
NSString * startAddress
 起点地址
 
CLLocationCoordinate2D startLocation
 
NSString * endName
 终点名
 
NSString * endAddress
 
CLLocationCoordinate2D endLocation
 
BMKMapPointpoints
 路段所经过的地理坐标集合
 
int pointsCount
 路段所经过的地理坐标集合内点的个数
 
NSInteger price
 
BOOL canRide
 是否可以骑行
 
int walkType
 步行虚线类型
 
BMKMassWalkType transType
 换乘类型
 
NSArray< BMKBusTransferStationInfo * > * station
 换乘站点信息
 
BMKBusTransferVehicleInfovehicle
 公交路线信息
 
NSArray< NSArray< BMKBusRouteStep * > * > * lowerSteps
 

属性说明

◆ canRide

- (BOOL) canRide
readwritenonatomicassign

是否可以骑行

◆ distance

- (NSInteger) distance
readwritenonatomicassign

距离 跨城方案中, 不包含飞机、货车、大巴的距离,该字段不会被返回

◆ duration

- (NSInteger) duration
readwritenonatomicassign

耗时,单位:秒

◆ endAddress

- (NSString*) endAddress
readwritenonatomiccopy

终点地址 步行

◆ endLocation

- (CLLocationCoordinate2D) endLocation
readwritenonatomicassign

终点坐标 格式为[经度,纬度]

◆ endName

- (NSString*) endName
readwritenonatomiccopy

终点名

◆ instruction

- (NSString*) instruction
readwritenonatomiccopy

当前step的指引文字描述,驾车无该字段

◆ lowerSteps

- (NSArray<NSArray<BMKBusRouteStep *> *>*) lowerSteps
readwritenonatomicstrong

方案中的step 在跨城结果中起点城市和终点城市的step中会返回

◆ points

- (BMKMapPoint*) points
readwritenonatomicassign

路段所经过的地理坐标集合

◆ pointsCount

- (int) pointsCount
readwritenonatomicassign

路段所经过的地理坐标集合内点的个数

◆ price

- (NSInteger) price
readwritenonatomicassign

有票的最低票价 跨城的step才返回,单位:分

◆ startAddress

- (NSString*) startAddress
readwritenonatomiccopy

起点地址

◆ startLocation

- (CLLocationCoordinate2D) startLocation
readwritenonatomicassign

起点坐标 格式为[经度,纬度]

◆ startName

- (NSString*) startName
readwritenonatomiccopy

起点名 步行

◆ station

- (NSArray<BMKBusTransferStationInfo *>*) station
readwritenonatomicstrong

换乘站点信息

◆ stepType

- (BMKMassTransitType) stepType
readwritenonatomicassign

路段类型 此类型不包含BMK_TRANSIT_SUBWAY BMK_TRANSIT_BUSLINE 为一体化公交包含地铁

◆ transType

- (BMKMassWalkType) transType
readwritenonatomicassign

换乘类型

◆ vehicle

- (BMKBusTransferVehicleInfo*) vehicle
readwritenonatomicstrong

公交路线信息

◆ walkType

- (int) walkType
readwritenonatomicassign

步行虚线类型


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