public class TransitRoutePlanOption
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TransitRoutePlanOption.TransitPolicy
换成策略枚举
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
mCityName |
PlanNode |
mFrom |
TransitRoutePlanOption.TransitPolicy |
mPolicy |
PlanNode |
mTo |
Constructor and Description |
---|
TransitRoutePlanOption() |
Modifier and Type | Method and Description |
---|---|
TransitRoutePlanOption |
city(java.lang.String city)
设置换乘路线规划城市,起终点中的城市将会被忽略
|
TransitRoutePlanOption |
from(PlanNode from)
设置起点
|
TransitRoutePlanOption |
policy(TransitRoutePlanOption.TransitPolicy policy)
设置换乘策略
|
TransitRoutePlanOption |
to(PlanNode to)
设置终点
|
public PlanNode mFrom
public PlanNode mTo
public java.lang.String mCityName
public TransitRoutePlanOption.TransitPolicy mPolicy
public TransitRoutePlanOption from(PlanNode from)
from
- 起点public TransitRoutePlanOption to(PlanNode to)
public TransitRoutePlanOption city(java.lang.String city)
city
- 城市public TransitRoutePlanOption policy(TransitRoutePlanOption.TransitPolicy policy)
policy
- 换乘策略TransitRoutePlanOption.TransitPolicy