百度地图SDK for iOS v4.1.1 类参考
BMKRadarOption.h
1 //
2 // BMKRadarOption.h
3 // RadarComponent
4 //
5 // Created by wzy on 15/4/22.
6 // Copyright (c) 2015年 baidu. All rights reserved.
7 //
8 
9 #ifndef RadarComponent_BMKRadarOption_h
10 #define RadarComponent_BMKRadarOption_h
11 
12 #import <CoreLocation/CoreLocation.h>
13 
15 @interface BMKRadarUploadInfo : NSObject
16 
18 @property (nonatomic, assign) CLLocationCoordinate2D pt;
19 
21 @property (nonatomic, strong) NSString* extInfo;
22 
23 @end
24 
25 typedef enum{
26  BMK_RADAR_SORT_TYPE_DISTANCE_FROM_NEAR_TO_FAR = 0,//距离由近及远排序
27  BMK_RADAR_SORT_TYPE_DISTANCE_FROM_FAR_TO_NEAR,//距离由远及近排序
28  BMK_RADAR_SORT_TYPE_TIME_FROM_PAST_TO_RECENT,//时间由过去到现在排序
29  BMK_RADAR_SORT_TYPE_TIME_FROM_RECENT_TO_PAST,//时间由现在到过去排序
30 }BMKRadarSortType;
31 
33 @interface BMKDateRange : NSObject
34 
36 @property (nonatomic, strong) NSDate* startDate;
38 @property (nonatomic, strong) NSDate* endDate;
39 
40 @end
41 
43 @interface BMKRadarNearbySearchOption : NSObject
44 
46 @property (nonatomic, assign) CLLocationCoordinate2D centerPt;
48 @property (nonatomic, assign) NSUInteger radius;
50 @property (nonatomic, assign) NSInteger pageIndex;
52 @property (nonatomic, assign) NSInteger pageCapacity;
54 @property (nonatomic, assign) BMKRadarSortType sortType;
56 @property (nonatomic, strong) BMKDateRange* dateRange;
57 
58 
59 @end
60 
61 #endif
查询周边的用户信息参数类
Definition: BMKRadarOption.h:43
NSString * extInfo
扩展信息,和该用户相关的信息(可选)
Definition: BMKRadarOption.h:21
CLLocationCoordinate2D pt
地址坐标,百度经纬度坐标 (必须)
Definition: BMKRadarOption.h:18
用户信息类
Definition: BMKRadarOption.h:15
时间区间
Definition: BMKRadarOption.h:33