iOS高德地图SDK(搜索)  V9.5.0
AMapPOIKeywordsSearchRequest Class Reference

POI关键字搜索 More...

#import <AMapSearchObj.h>

Inheritance diagram for AMapPOIKeywordsSearchRequest:
AMapPOISearchBaseRequest AMapSearchObject

Properties

NSString * keywords
 查询关键字,多个关键字用“|”分割 More...
 
NSString * city
 查询城市,可选值:cityname(中文或中文全拼)、citycode、adcode.(注:台湾省的城市一律设置为【台湾】,不具体到市。) More...
 
BOOL cityLimit
 强制城市限制功能 默认NO,例如:在上海搜索天安门,如果citylimit为true,将不返回北京的天安门相关的POI More...
 
AMapGeoPointlocation
 设置后,如果sortrule==0,则返回结果会按照距离此点的远近来排序,since 5.2.1 More...
 
- Properties inherited from AMapPOISearchBaseRequest
NSString * types
 类型,多个类型用“|”分割 可选值:文本分类、分类代码 More...
 
NSInteger sortrule
 排序规则, 0-距离排序;1-综合排序, 默认0 More...
 
NSInteger offset
 每页记录数, 范围1-25, [default = 10] More...
 
NSInteger page
 当前页数, 范围1-100, [default = 1] More...
 
AMapPOISearchShowFieldsType showFieldsType
 设置需要返回的扩展信息,默认为AMapPOISearchShowFieldsTypeNone,只返回基础信息字段 More...
 

Additional Inherited Members

- Instance Methods inherited from AMapSearchObject
(NSString *) - formattedDescription
 返回格式化的描述信息。通用数据结构和response类型有效。 More...
 

Detailed Description

POI关键字搜索

Property Documentation

◆ city

- (NSString*) city
readwritenonatomiccopy

查询城市,可选值:cityname(中文或中文全拼)、citycode、adcode.(注:台湾省的城市一律设置为【台湾】,不具体到市。)

◆ cityLimit

- (BOOL) cityLimit
readwritenonatomicassign

强制城市限制功能 默认NO,例如:在上海搜索天安门,如果citylimit为true,将不返回北京的天安门相关的POI

◆ keywords

- (NSString*) keywords
readwritenonatomiccopy

查询关键字,多个关键字用“|”分割

◆ location

- (AMapGeoPoint*) location
readwritenonatomicstrong

设置后,如果sortrule==0,则返回结果会按照距离此点的远近来排序,since 5.2.1


The documentation for this class was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。