public abstract class RoutePlanningParam extends java.lang.Object implements ParamObject
Modifier and Type | Class and Description |
---|---|
static class |
RoutePlanningParam.DrivingPolicy
Deprecated.
建议使用
com.tencent.lbssearch.object.param.DrivingParam.DrivingPolicy |
static class |
RoutePlanningParam.TransitPolicy
Deprecated.
建议使用
TransitParam.Policy |
Constructor and Description |
---|
RoutePlanningParam() |
RoutePlanningParam(LatLng from,
LatLng to) |
Modifier and Type | Method and Description |
---|---|
RequestParams |
buildParameters()
构造参数
|
boolean |
checkParams()
检查参数输入是否正确
|
RoutePlanningParam |
from(LatLng from)
设置路线的起点
|
abstract <T extends BaseObject> |
getResultClass() |
abstract java.lang.String |
getUrl() |
protected java.lang.String |
locationToParamsString(LatLng l) |
RoutePlanningParam |
to(LatLng to)
设置路线的终点
|
public RoutePlanningParam from(LatLng from)
from
- public RoutePlanningParam to(LatLng to)
to
- public abstract java.lang.String getUrl()
public boolean checkParams()
ParamObject
checkParams
in interface ParamObject
public RequestParams buildParameters()
ParamObject
buildParameters
in interface ParamObject
protected java.lang.String locationToParamsString(LatLng l)
public abstract <T extends BaseObject> java.lang.Class<T> getResultClass()