POI周边搜索
More...
#include <AMapSearchObj.h>
|
| NSString * | keywords |
| | 查询关键字,多个关键字用“|”分割。可选
|
| |
| AMapGeoPoint * | location |
| | 中心点坐标
|
| |
| NSInteger | radius |
| | 查询半径,范围:0-50000,单位:米 [default = 3000]
|
| |
| NSString * | city |
| | 查询城市,可选值:cityname(中文或中文全拼)、citycode、adcode。注:当用户指定的经纬度和city出现冲突,若范围内有用户指定city的数据,则返回相关数据,否则返回为空。(since 5.7.0)
|
| |
| NSString * | types |
| | 类型,多个类型用“|”分割 可选值:文本分类、分类代码
|
| |
| NSInteger | sortrule |
| | 排序规则, 0-距离排序;1-综合排序, 默认0
|
| |
| NSInteger | offset |
| | 每页记录数, 范围1-25, [default = 10]
|
| |
| NSInteger | page |
| | 当前页数, 范围1-100, [default = 1]
|
| |
| AMapPOISearchShowFieldsType | showFieldsType |
| | 设置需要返回的扩展信息,默认为AMapPOISearchShowFieldsTypeNone,只返回基础信息字段
|
| |
◆ city
查询城市,可选值:cityname(中文或中文全拼)、citycode、adcode。注:当用户指定的经纬度和city出现冲突,若范围内有用户指定city的数据,则返回相关数据,否则返回为空。(since 5.7.0)
◆ keywords
◆ location
◆ radius
查询半径,范围:0-50000,单位:米 [default = 3000]
The documentation for this class was generated from the following file: