BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

BMKGeocodeSearchResult.h
浏览该文件的文档.
1 //
2 // BMKGeocodeSearchResult.h
3 // SearchComponent
4 //
5 // Created by Baidu on 2018年05月24日.
6 // Copyright © 2018年 Baidu. All rights reserved.
7 //
8
9 #import <BaiduMapAPI_Base/BMKTypes.h>
10 #import "BMKPoiSearchType.h"
11
12 #pragma mark - RC检索结果类
13 @interface BMKGeoCodeSearchResult : NSObject
16 @property (nonatomic, assign) CLLocationCoordinate2D location;
18 @property (nonatomic, assign) NSInteger precise;
23 @property (nonatomic, assign) NSInteger confidence;
25 @property (nonatomic, copy) NSString *level;
26
27 @end
28
29 #pragma mark - RGC检索结果归属区域面信息类
30 @interface BMKSearchRGCRegionInfo : NSObject
32 @property (nonatomic, copy) NSString *regionDescription;
34 @property (nonatomic, copy) NSString *regionName;
36 @property (nonatomic, copy) NSString *regionTag;
38 @property (nonatomic, copy) NSString *regionUID;
40 @property (nonatomic, assign) NSInteger regionDistance;
41 @end
42
43 #pragma mark - 反地理编码检索结果的Road信息类
44 @interface BMKSearchRGCRoadInfo: NSObject
46 @property (nonatomic, copy) NSString *name;
48 @property (nonatomic, copy) NSString *distance;
50 @property (nonatomic, copy) NSString* direction;
52 @property (nonatomic, assign) CLLocationCoordinate2D location;
53
54 @end
55
56 #pragma mark - RGC检索结果类
57 @interface BMKReverseGeoCodeSearchResult : NSObject
60 @property (nonatomic, assign) CLLocationCoordinate2D location;
62 @property (nonatomic, copy) NSString *address;
64 @property (nonatomic, copy) NSString *businessCircle;
66 @property (nonatomic, strong) BMKAddressComponent *addressDetail;
71 @property (nonatomic, assign) NSInteger confidence;
73 @property (nonatomic, copy) NSArray <BMKPoiInfo *> *poiList;
75 @property (nonatomic, copy) NSArray <BMKSearchRGCRegionInfo *> *poiRegions;
77 @property (nonatomic, copy) NSArray<BMKSearchRGCRoadInfo *> *roads;
79 @property (nonatomic, copy) NSString *sematicDescription;
81 @property (nonatomic, copy) NSString *formattedPoiAddress;
83 @property (nonatomic, copy) NSString *cityCode __deprecated_msg("自4.1.0不再更新");
84
85 @end
86
87
88 #pragma mark - 批量RGC检索结果类
89 @interface BMKReverseGeoCodeBatchSearchResult : NSObject
91
92 @property (nonatomic, assign) BMKSearchErrorCode errorCode;
93
94 @property (nonatomic, strong) BMKReverseGeoCodeSearchResult *result;
95
96 @end
BMKGeoCodeSearchResult::location
CLLocationCoordinate2D location
地址对应的经纬度坐标
Definition: BMKGeocodeSearchResult.h:16
BMKAddressComponent
此类表示地址结果的层次化信息
Definition: BMKTypes.h:418
BMKSearchErrorCode
BMKSearchErrorCode
检索结果状态码
Definition: BMKTypes.h:159
BMKReverseGeoCodeBatchSearchResult
批量反地理编码结果类
Definition: BMKGeocodeSearchResult.h:91
BMKGeoCodeSearchResult::confidence
NSInteger confidence
Definition: BMKGeocodeSearchResult.h:23
BMKSearchRGCRegionInfo
Definition: BMKGeocodeSearchResult.h:31
BMKGeoCodeSearchResult::level
NSString * level
地址类型，包含：UNKNOWN、国家、省、商圈、生活服务等等
Definition: BMKGeocodeSearchResult.h:25
BMKSearchRGCRoadInfo
Definition: BMKGeocodeSearchResult.h:45
BMKGeoCodeSearchResult
地址编码结果类
Definition: BMKGeocodeSearchResult.h:15
-[BMKReverseGeoCodeSearchResult __deprecated_msg]
NSString *cityCode __deprecated_msg("自4.1.0不再更新")
城市编码（此字段不再更新，建议使用addressDetail中的adCode）
BMKGeoCodeSearchResult::precise
NSInteger precise
是否是精准查找，1为精确查找，即准确打点，0为不精确，即模糊打点
Definition: BMKGeocodeSearchResult.h:18
BMKPoiSearchType.h
BMKReverseGeoCodeSearchResult
反地理编码结果类
Definition: BMKGeocodeSearchResult.h:59