public class TranslateParam extends java.lang.Object implements ParamObject
Modifier and Type | Class and Description |
---|---|
static class |
TranslateParam.CoordType
输入的locations的坐标类型
可选值为[1,6]之间的整数,每个数字代表的类型说明:
|
Constructor and Description |
---|
TranslateParam() |
Modifier and Type | Method and Description |
---|---|
TranslateParam |
addLocation(LatLng latLng)
添加一组坐标
|
RequestParams |
buildParameters()
构造参数
|
boolean |
checkParams()
检查参数输入是否正确
|
TranslateParam |
coord_type(CoordTypeEnum type)
Deprecated.
|
TranslateParam |
coordType(TranslateParam.CoordType type)
输入的locations的坐标类型
|
TranslateParam |
locations(LatLng... latLngs)
批量添加一组坐标
|
public TranslateParam addLocation(LatLng latLng)
public TranslateParam locations(LatLng... latLngs)
public TranslateParam coordType(TranslateParam.CoordType type)
type
- public TranslateParam coord_type(CoordTypeEnum type)
coordType(CoordType)
type
- public boolean checkParams()
ParamObject
checkParams
in interface ParamObject
public RequestParams buildParameters()
ParamObject
buildParameters
in interface ParamObject