public class BikingRoutePlanOption
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
PlanNode |
mFrom |
int |
mRidingType
骑行类型(0:普通骑行模式,1:电动车模式)
|
PlanNode |
mTo |
构造器和说明 |
---|
BikingRoutePlanOption() |
限定符和类型 | 方法和说明 |
---|---|
BikingRoutePlanOption |
from(PlanNode from)
设置起点
|
java.util.List<PlanNode> |
getWayPoints()
返回途经点
|
BikingRoutePlanOption |
passBy(java.util.List<PlanNode> wayPoints)
设置途经点
|
BikingRoutePlanOption |
ridingType(int ridingType)
骑行类型(0:普通骑行模式,1:电动车模式)
|
BikingRoutePlanOption |
to(PlanNode to)
设置终点
|
public PlanNode mFrom
public PlanNode mTo
public int mRidingType
public BikingRoutePlanOption from(PlanNode from)
from
- 起点public BikingRoutePlanOption to(PlanNode to)
to
- 终点public BikingRoutePlanOption passBy(java.util.List<PlanNode> wayPoints)
wayPoints
- 途经点
目前骑行路线规划只支持一个途经点public BikingRoutePlanOption ridingType(int ridingType)
ridingType
- public java.util.List<PlanNode> getWayPoints()