Package | Description |
---|---|
com.baidu.mapapi.navi |
调起百度地图客户端驾车导航、步行导航、骑行导航功能
|
Modifier and Type | Method and Description |
---|---|
TruckNaviOption |
TruckNaviOption.endName(java.lang.String endName)
设置重点name
|
TruckNaviOption |
TruckNaviOption.endPoint(LatLng endPoint)
设置终点坐标信息
|
TruckNaviOption |
TruckNaviOption.setAxleCount(int axleCount)
轴数,int,范围[2, 8]
必填 默认 0 (不填会抛异常)
|
TruckNaviOption |
TruckNaviOption.setAxleWeight(double axleWeight)
轴重,double, 单位吨,范围[0,100]
必填 默认是0
|
TruckNaviOption |
TruckNaviOption.setDisplacement(int displacement)
百公里油耗,单位L
可选 默认 0
|
TruckNaviOption |
TruckNaviOption.setEmissionLimit(int emissionLimit)
排放标准 。取值范围0-6,对应无(0)、国1-国6(1-6)标准
必填 默认 0
|
TruckNaviOption |
TruckNaviOption.setHeight(double height)
车辆高度 ,double ,单位米,范围[1,10]
必填 默认是0 (不填会抛异常)
|
TruckNaviOption |
TruckNaviOption.setIsTrailer(boolean isTrailer)
是否挂车 true:是 false:否
可选 默认false
|
TruckNaviOption |
TruckNaviOption.setLength(double length)
车辆长度,double,单位米,范围[1,25]
必填 默认是0 (不填会抛异常)
|
TruckNaviOption |
TruckNaviOption.setLoadWeight(int loadWeight)
核定载重。单位吨,范围[1,100]
必填 默认 0(不填会抛异常)
|
TruckNaviOption |
TruckNaviOption.setNaviRoutePolicy(NaviParaOption.NaviRoutePolicy naviRoutePolicy)
设置导航路线策略 (默认推荐)
|
TruckNaviOption |
TruckNaviOption.setPlateColor(int plateColor)
车牌颜色 0:蓝色(默认) 1:黄 2:黑 3:白 4:绿
可选 默认 0
|
TruckNaviOption |
TruckNaviOption.setPlateNumber(java.lang.String plateNumber)
车牌号码,省份外的号码,如:京B69999
必填 (不填会抛异常)
|
TruckNaviOption |
TruckNaviOption.setPowerType(int powerType)
动力类型 1-汽油; 2-柴油; 3-电动; 4-混合
必填 默认 0 (不填会抛异常)
|
TruckNaviOption |
TruckNaviOption.setTruckType(int truckType)
货车类型 1:微型,2:轻型,3:中型,4:重型
必填 默认 0 (不填会抛异常)
|
TruckNaviOption |
TruckNaviOption.setWayPoint(WayPoint wayPoint)
设置途径点参数(最多支持3个途径点)
|
TruckNaviOption |
TruckNaviOption.setWeight(double weight)
车辆总重 ,double,单位吨,范围[1,100]
必填 默认是0 (不填会抛异常)
|
TruckNaviOption |
TruckNaviOption.setWidth(double width)
车辆宽度,double, 单位米,范围[1,5]
必填 默认是0 (不填会抛异常)
|