BaiduMap_IOSSDK_v7.1.0_Docs 7.1.0

BMKGeocodeSearchOption.h
浏览该文件的文档.
1 //
2 // BMKGeoCodeSearchOption.h
3 // SearchComponent
4 // 本文件中包含了 正/反地理编码服务 的请求参数信息类
5 //
6 // Created by Baidu on 2018/5/8.
7 // Copyright © 2018年 Baidu. All rights reserved.
8 //
9
10 #import <CoreLocation/CoreLocation.h>
11 #import <BaiduMapAPI_Base/BMKTypes.h>
12
13 typedef enum {
14 BMKReverseGeoSortTypeDefault = 0,
15 BMKReverseGeoSortTypeDistance = 2,
16 BMKReverseGeoSortTypeRank = 3,
17 }BMKReverseGeoSortType;
18
19 #pragma mark - GC请求参数类
20 @interface BMKGeoCodeSearchOption : NSObject
29 @property (nonatomic, copy) NSString *address;
35 @property (nonatomic, copy) NSString *city;
36 @end
37
38
39 #pragma mark - RGC请求参数类
40 @interface BMKReverseGeoCodeSearchOption : NSObject
43 @property (nonatomic, assign) CLLocationCoordinate2D location;
45 @property (nonatomic, assign) BOOL isLatestAdmin;
47 @property (nonatomic, assign) int radius;
49 @property (nonatomic, copy) NSArray<NSString *> *tags;
51 @property (nonatomic, assign) BOOL extensionsRoad;
53 @property (nonatomic, assign) int entirePoi;
55 @property (nonatomic, assign) BMKReverseGeoSortType sortStrategy;
57 @property (nonatomic, assign) int pageSize;
59 @property (nonatomic, assign) int pageNum;
61 @property (nonatomic, assign) BMKLanguageType languageType;
62 @end
63
64
65
BMKReverseGeoSortType
BMKReverseGeoSortType
Definition: BMKGeocodeSearchOption.h:13
BMKGeoCodeSearchOption::city
NSString * city
Definition: BMKGeocodeSearchOption.h:35
BMKReverseGeoSortTypeDistance
@ BMKReverseGeoSortTypeDistance
距离
Definition: BMKGeocodeSearchOption.h:15
BMKGeoCodeSearchOption
正地理编码参数信息类
Definition: BMKGeocodeSearchOption.h:22
BMKLanguageType
BMKLanguageType
语言类型枚举
Definition: BMKTypes.h:35
BMKGeoCodeSearchOption::address
NSString * address
Definition: BMKGeocodeSearchOption.h:29
BMKReverseGeoSortTypeRank
@ BMKReverseGeoSortTypeRank
重要性
Definition: BMKGeocodeSearchOption.h:16
BMKReverseGeoSortTypeDefault
@ BMKReverseGeoSortTypeDefault
默认
Definition: BMKGeocodeSearchOption.h:14
BMKReverseGeoCodeSearchOption
反地理编码参数信息类
Definition: BMKGeocodeSearchOption.h:42