iOS高德地图SDK(搜索)  V9.5.0
AMapPath Class Reference

步行、骑行、驾车方案 More...

#import <AMapCommonObj.h>

Inheritance diagram for AMapPath:
AMapSearchObject

Properties

NSInteger distance
 起点和终点的距离 More...
 
NSInteger duration
 预计耗时(单位:秒) More...
 
NSString * strategy
 导航策略 More...
 
NSArray< AMapStep * > * steps
 导航路段 AMapStep 数组 More...
 
CGFloat tolls
 此方案费用(单位:元) More...
 
NSInteger tollDistance
 此方案收费路段长度(单位:米) More...
 
NSInteger totalTrafficLights
 此方案交通信号灯个数 More...
 
NSInteger restriction
 
NSString * polyline
 规划路径完整坐标点串集合(since 7.4.0) More...
 

Additional Inherited Members

- Instance Methods inherited from AMapSearchObject
(NSString *) - formattedDescription
 返回格式化的描述信息。通用数据结构和response类型有效。 More...
 

Detailed Description

步行、骑行、驾车方案

Property Documentation

◆ distance

- (NSInteger) distance
readwritenonatomicassign

起点和终点的距离

◆ duration

- (NSInteger) duration
readwritenonatomicassign

预计耗时(单位:秒)

◆ polyline

- (NSString*) polyline
readwritenonatomiccopy

规划路径完整坐标点串集合(since 7.4.0)

◆ restriction

- (NSInteger) restriction
readwritenonatomicassign

限行信息,仅在驾车和货车路径规划时有效。(since 6.0.0) 驾车路径规划时: 0 代表限行已规避或未限行; 1 代表限行无法规避。 货车路径规划时: 0,未知(未输入完整/正确车牌号信息时候显示) 1,已规避限行 2,起点限行 3,途径点在限行区域内(设置途径点才出现此报错) 4,途径限行区域 5,终点限行

◆ steps

- (NSArray<AMapStep *>*) steps
readwritenonatomicstrong

导航路段 AMapStep 数组

◆ strategy

- (NSString*) strategy
readwritenonatomiccopy

导航策略

◆ tollDistance

- (NSInteger) tollDistance
readwritenonatomicassign

此方案收费路段长度(单位:米)

◆ tolls

- (CGFloat) tolls
readwritenonatomicassign

此方案费用(单位:元)

◆ totalTrafficLights

- (NSInteger) totalTrafficLights
readwritenonatomicassign

此方案交通信号灯个数


The documentation for this class was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。