POI周边搜索
More...
#include <AMapSearchObjV1.h>
|
| NSString * | keywords |
| | 查询关键字,多个关键字用“|”分割
|
| |
| AMapGeoPoint * | location |
| | 中心点坐标
|
| |
| NSInteger | radius |
| | 查询半径,范围:0-50000,单位:米 [default = 1500]
|
| |
| NSString * | city |
| | 查询城市,可选值:cityname(中文或中文全拼)、citycode、adcode。注:当用户指定的经纬度和city出现冲突,若范围内有用户指定city的数据,则返回相关数据,否则返回为空。(since 5.7.0)
|
| |
| BOOL | special |
| | 是否对结果进行人工干预,如火车站,原因为poi较为特殊,结果存在人工干预,干预结果优先,所以距离优先的排序未生效,默认为YES (since 7.4.0)
|
| |
| NSString * | types |
| | 类型,多个类型用“|”分割 可选值:文本分类、分类代码
|
| |
| NSInteger | sortrule |
| | 排序规则, 0-距离排序;1-综合排序, 默认0
|
| |
| NSInteger | offset |
| | 每页记录数, 范围1-25, [default = 20]
|
| |
| NSInteger | page |
| | 当前页数, 范围1-100, [default = 1]
|
| |
| NSString * | building |
| | 建筑物POI编号,传入建筑物POI之后,则只在该建筑物之内进行搜索(since 4.5.0)
|
| |
| BOOL | requireExtension |
| | 是否返回扩展信息,默认为 NO。
|
| |
| BOOL | requireSubPOIs |
| | 是否返回子POI,默认为 NO。
|
| |
◆ city
查询城市,可选值:cityname(中文或中文全拼)、citycode、adcode。注:当用户指定的经纬度和city出现冲突,若范围内有用户指定city的数据,则返回相关数据,否则返回为空。(since 5.7.0)
◆ keywords
◆ location
◆ radius
查询半径,范围:0-50000,单位:米 [default = 1500]
◆ special
是否对结果进行人工干预,如火车站,原因为poi较为特殊,结果存在人工干预,干预结果优先,所以距离优先的排序未生效,默认为YES (since 7.4.0)
The documentation for this class was generated from the following file: