public static class

Geo2AddressParam.PoiOptions

extends Object
java.lang.Object
   ↳ com.tencent.lbssearch.object.param.Geo2AddressParam.PoiOptions

Summary

Constants
String ADDRESS_FORMAT_DEFAULT
String ADDRESS_FORMAT_SHORT
int POLICY_DEFAULT 默认场景策略, 以地标+主要的路+近距离POI为主,着力描述当前位置;
int POLICY_O2O 到家场景策略,筛选合适收货的POI,并会细化收货地址,精确到楼栋
int POLICY_SHARE 位置共享场景策略,用户经常用于发送位置、位置分享等场景的热门地点优先排序
int POLICY_SOCIAL 社交签到场景策略,针对用户签到的热门地点进行优先排序
int POLICY_TRIP 出行场景策略,过滤掉车辆不易到达的POI(如一些景区内POI),增加道路出入口、交叉口、大区域出入口类POI,排序会根据真实API大用户的用户点击自动优化。
Public Constructors
PoiOptions()
Public Methods
Geo2AddressParam.PoiOptions setAddressFormat(String addressFormat)
POI列表地址格式 ADDRESS_FORMAT_SHORT
Geo2AddressParam.PoiOptions setCategorys(String... category)
指定分类
Geo2AddressParam.PoiOptions setPageIndex(int pageIndex)
页码,取值范围 1-20
Geo2AddressParam.PoiOptions setPageSize(int pageSize)
每页条数,取值范围 1-20
Geo2AddressParam.PoiOptions setPolicy(int policy)
Geo2AddressParam.PoiOptions setRadius(int radius)
设置半径,取值范围 1-5000(米)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ADDRESS_FORMAT_DEFAULT

Constant Value: ""

public static final String ADDRESS_FORMAT_SHORT

Constant Value: "short"

public static final int POLICY_DEFAULT

默认场景策略, 以地标+主要的路+近距离POI为主,着力描述当前位置;

Constant Value: 1 (0x00000001)

public static final int POLICY_O2O

到家场景策略,筛选合适收货的POI,并会细化收货地址,精确到楼栋

Constant Value: 2 (0x00000002)

public static final int POLICY_SHARE

位置共享场景策略,用户经常用于发送位置、位置分享等场景的热门地点优先排序

Constant Value: 5 (0x00000005)

public static final int POLICY_SOCIAL

社交签到场景策略,针对用户签到的热门地点进行优先排序

Constant Value: 4 (0x00000004)

public static final int POLICY_TRIP

出行场景策略,过滤掉车辆不易到达的POI(如一些景区内POI),增加道路出入口、交叉口、大区域出入口类POI,排序会根据真实API大用户的用户点击自动优化。

Constant Value: 3 (0x00000003)

Public Constructors

public PoiOptions ()

Public Methods

public Geo2AddressParam.PoiOptions setAddressFormat (String addressFormat)

POI列表地址格式 ADDRESS_FORMAT_SHORT

public Geo2AddressParam.PoiOptions setCategorys (String... category)

指定分类

public Geo2AddressParam.PoiOptions setPageIndex (int pageIndex)

页码,取值范围 1-20

public Geo2AddressParam.PoiOptions setPageSize (int pageSize)

每页条数,取值范围 1-20

public Geo2AddressParam.PoiOptions setRadius (int radius)

设置半径,取值范围 1-5000(米)

Parameters
radius 半径,取值范围 1-5000(米)
Returns
  • 更新之后的对象

public String toString ()