public class Geo2AddressParam extends java.lang.Object implements ParamObject
Modifier and Type | Class and Description |
---|---|
static class |
Geo2AddressParam.PoiOptions |
Constructor and Description |
---|
Geo2AddressParam() |
Geo2AddressParam(LatLng latLng)
构造参数
|
Modifier and Type | Method and Description |
---|---|
RequestParams |
buildParameters()
构造参数
|
boolean |
checkParams()
检查参数输入是否正确
|
Geo2AddressParam |
coord_type(CoordTypeEnum coordTypeEnum)
Deprecated.
已弃用
|
Geo2AddressParam |
get_poi(boolean isGetPoi)
Deprecated.
|
Geo2AddressParam |
getPoi(boolean isGetPoi)
是否返回周边POI列表:
true.返回;false 不返回(默认)
|
Geo2AddressParam |
location(LatLng latLng)
位置坐标,格式:
latLng=latitude(纬度),longitude(经度)
|
Geo2AddressParam |
setPoiOptions(Geo2AddressParam.PoiOptions poiOptions)
设置poi的设置选项
|
public Geo2AddressParam()
public Geo2AddressParam(LatLng latLng)
latLng
- 位置坐标,格式:latLng=latitude(纬度),longitude(经度)public Geo2AddressParam location(LatLng latLng)
public Geo2AddressParam get_poi(boolean isGetPoi)
getPoi(boolean)
public Geo2AddressParam coord_type(CoordTypeEnum coordTypeEnum)
coordTypeEnum
- public Geo2AddressParam getPoi(boolean isGetPoi)
public Geo2AddressParam setPoiOptions(Geo2AddressParam.PoiOptions poiOptions)
public boolean checkParams()
ParamObject
checkParams
in interface ParamObject
public RequestParams buildParameters()
ParamObject
buildParameters
in interface ParamObject