public class BikingRoutePlanOption
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
PlanNode |
mFrom |
int |
mRidingType
骑行类型(0:普通骑行模式,1:电动车模式)
|
PlanNode |
mTo |
Constructor and Description |
---|
BikingRoutePlanOption() |
Modifier and Type | Method and Description |
---|---|
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()