高德地图SDK(导航) V10.0.900
Loading...
Searching...
No Matches
AMapNaviVehicleInfo Class Reference

车辆信息 since 6.0.0 More...

#import <AMapNaviCommonObj.h>

Inheritance diagram for AMapNaviVehicleInfo:

Properties

NSString * vehicleId
 车牌号,如"京H1N11", since 8.0.0 支持摩托车车牌号.
 
BOOL isETARestriction
 是否开启ETA请求的躲避车辆限行, 默认为YES. 注意:只有设置为YES, 且设置了车牌号才能躲避车辆限行
 
NSInteger type
 设置车辆类型, 0:燃油客车; 1:燃油货车; 2:纯电动客车; 3:纯电动货车; 4:插电式混动客车; 5:插电式混动货车; since 8.0.0 新增11:摩托车. 默认0(小车). 注意:只有设置了货车, 其他关于货车的属性设置才会生效
 
BOOL isLoadIgnore
 算路时是否忽略货车重量, 默认为No, 即不忽略, 也就是算路时会考虑货车的重量. 如为YES,就会忽略货车重量. since 6.2.0
 
NSInteger size
 设置货车的类型(大小), 1:微型货车; 2:轻型/小型货车; 3:中型货车; 4:重型货车, 默认为2
 
NSInteger axisNums
 设置货车的轴数(用来计算过路费及限重), 取值[0-255], type = 1时生效, 默认为2
 
CGFloat width
 设置货车的宽度, 范围:[0-25.5], 单位:米, type = 1时生效, 默认2.5米
 
CGFloat height
 设置货车的高度, 范围:取值[0-25.5], 单位:米, type = 1时生效, 默认1.6米
 
CGFloat length
 设置货车的最大长度, 取值[0-25], 单位:米, type = 1时生效, 默认6米
 
CGFloat load
 设置货车的总重, 范围:取值[0-6553.5], 单位:吨, type = 1时生效, 注意:总重 = 车重 + 核定载重
 
CGFloat weight
 设置货车的核定载重, 范围:取值[0-6553.5], 单位:吨, type = 1时生效
 
NSInteger motorcycleCC
 摩托车排量, 单位: 毫升 since 8.0.0
 

Detailed Description

车辆信息 since 6.0.0

Property Documentation

◆ axisNums

- (NSInteger) axisNums
readwritenonatomicassign

设置货车的轴数(用来计算过路费及限重), 取值[0-255], type = 1时生效, 默认为2

◆ height

- (CGFloat) height
readwritenonatomicassign

设置货车的高度, 范围:取值[0-25.5], 单位:米, type = 1时生效, 默认1.6米

◆ isETARestriction

- (BOOL) isETARestriction
readwritenonatomicassign

是否开启ETA请求的躲避车辆限行, 默认为YES. 注意:只有设置为YES, 且设置了车牌号才能躲避车辆限行

◆ isLoadIgnore

- (BOOL) isLoadIgnore
readwritenonatomicassign

算路时是否忽略货车重量, 默认为No, 即不忽略, 也就是算路时会考虑货车的重量. 如为YES,就会忽略货车重量. since 6.2.0

◆ length

- (CGFloat) length
readwritenonatomicassign

设置货车的最大长度, 取值[0-25], 单位:米, type = 1时生效, 默认6米

◆ load

- (CGFloat) load
readwritenonatomicassign

设置货车的总重, 范围:取值[0-6553.5], 单位:吨, type = 1时生效, 注意:总重 = 车重 + 核定载重

◆ motorcycleCC

- (NSInteger) motorcycleCC
readwritenonatomicassign

摩托车排量, 单位: 毫升 since 8.0.0

◆ size

- (NSInteger) size
readwritenonatomicassign

设置货车的类型(大小), 1:微型货车; 2:轻型/小型货车; 3:中型货车; 4:重型货车, 默认为2

◆ type

- (NSInteger) type
readwritenonatomicassign

设置车辆类型, 0:燃油客车; 1:燃油货车; 2:纯电动客车; 3:纯电动货车; 4:插电式混动客车; 5:插电式混动货车; since 8.0.0 新增11:摩托车. 默认0(小车). 注意:只有设置了货车, 其他关于货车的属性设置才会生效

◆ vehicleId

- (NSString*) vehicleId
readwritenonatomicstrong

车牌号,如"京H1N11", since 8.0.0 支持摩托车车牌号.

◆ weight

- (CGFloat) weight
readwritenonatomicassign

设置货车的核定载重, 范围:取值[0-6553.5], 单位:吨, type = 1时生效

◆ width

- (CGFloat) width
readwritenonatomicassign

设置货车的宽度, 范围:[0-25.5], 单位:米, type = 1时生效, 默认2.5米


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