百度地图SDK for iOS v4.0.0 类参考
BMKPoiSearchOption.h
1 /*
2  * BMKPoiSearchOption.h
3  * BMapKit
4  *
5  * Copyright 2013 Baidu Inc. All rights reserved.
6  *
7  */
8 #import <Foundation/Foundation.h>
9 #import <BaiduMapAPI_Base/BMKTypes.h>
10 
11 typedef enum{
12  BMK_POI_SORT_BY_COMPOSITE = 0,//综合排序
13  BMK_POI_SORT_BY_DISTANCE,//距离由近到远排序
14 }BMKPoiSortType;
15 
17 @interface BMKBasePoiSearchOption : NSObject
18 {
19  NSString *_keyword;
20  int _pageIndex;
21  int _pageCapacity;
22 }
24 @property (nonatomic, strong) NSString *keyword;
26 @property (nonatomic, assign) int pageIndex;
28 @property (nonatomic, assign) int pageCapacity;
29 
30 @end
31 
34  NSString *_city;
35 }
37 @property (nonatomic, strong) NSString *city;
39 @property (nonatomic, assign) BOOL requestPoiAddressInfoList;
40 @end
41 
44  CLLocationCoordinate2D _location;
45  int _radius;
46 }
48 @property (nonatomic, assign) CLLocationCoordinate2D location;
50 @property (nonatomic, assign) int radius;
51 //搜索结果排序规则,可选,默认BMK_POI_SORT_BY_COMPOSITE
52 @property (nonatomic, assign) BMKPoiSortType sortType;
53 
54 @end
55 
58  CLLocationCoordinate2D _leftBottom;
59  CLLocationCoordinate2D _rightTop;
60 
61 }
63 @property (nonatomic, assign) CLLocationCoordinate2D leftBottom;
64 @property (nonatomic, assign) CLLocationCoordinate2D rightTop;
65 @end
66 
70 @property (nonatomic, strong) NSString *indoorId;
72 @property (nonatomic, strong) NSString *floor;
73 @end
74 
76 @interface BMKPoiDetailSearchOption : NSObject {
77  NSString* _poiUid;
78 }
80 @property (nonatomic, strong) NSString* poiUid;
81 
82 @end
83 
84 
NSString * indoorId
室内ID(必须)
Definition: BMKPoiSearchOption.h:70
周边云检索参数信息类
Definition: BMKPoiSearchOption.h:43
poi详情检索信息类
Definition: BMKPoiSearchOption.h:76
检索基础信息类,所有类型Poi检索的基类
Definition: BMKPoiSearchOption.h:17
NSString * floor
楼层(可选),设置后,会优先获取该楼层的室内POI,然后是其它楼层的
Definition: BMKPoiSearchOption.h:72
室内POI检索参数信息类
Definition: BMKPoiSearchOption.h:68
本地云检索参数信息类
Definition: BMKPoiSearchOption.h:33
矩形云检索参数信息类
Definition: BMKPoiSearchOption.h:57