POI关键字搜索
More...
#include <AMapSearchObjV1.h>
|
| NSString * | keywords |
| | 查询关键字,多个关键字用“|”分割
|
| |
| NSString * | city |
| | 查询城市,可选值:cityname(中文或中文全拼)、citycode、adcode.(注:台湾省的城市一律设置为【台湾】,不具体到市。)
|
| |
| BOOL | cityLimit |
| | 强制城市限制功能 默认NO,例如:在上海搜索天安门,如果citylimit为true,将不返回北京的天安门相关的POI
|
| |
| AMapGeoPoint * | location |
| | 设置后,如果sortrule==0,则返回结果会按照距离此点的远近来排序,since 5.2.1
|
| |
| 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.(注:台湾省的城市一律设置为【台湾】,不具体到市。)
◆ cityLimit
强制城市限制功能 默认NO,例如:在上海搜索天安门,如果citylimit为true,将不返回北京的天安门相关的POI
◆ keywords
◆ location
设置后,如果sortrule==0,则返回结果会按照距离此点的远近来排序,since 5.2.1
The documentation for this class was generated from the following file: