BaiduMap_IOSSDK_v7.0.0_Docs 7.0.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;
49
50 @end
51
52 #pragma mark - RGC检索结果类
53 @interface BMKReverseGeoCodeSearchResult : NSObject
56 @property (nonatomic, assign) CLLocationCoordinate2D location;
58 @property (nonatomic, copy) NSString *address;
60 @property (nonatomic, copy) NSString *businessCircle;
62 @property (nonatomic, strong) BMKAddressComponent *addressDetail;
67 @property (nonatomic, assign) NSInteger confidence;
69 @property (nonatomic, copy) NSArray <BMKPoiInfo *> *poiList;
71 @property (nonatomic, copy) NSArray <BMKSearchRGCRegionInfo *> *poiRegions;
73 @property (nonatomic, copy) NSArray<BMKSearchRGCRoadInfo *> *roads;
75 @property (nonatomic, copy) NSString *sematicDescription;
77 @property (nonatomic, copy) NSString *formattedPoiAddress;
79 @property (nonatomic, copy) NSString *cityCode __deprecated_msg("自4.1.0不再更新");
80
81 @end
82
83
84 #pragma mark - 批量RGC检索结果类
85 @interface BMKReverseGeoCodeBatchSearchResult : NSObject
87
88 @property (nonatomic, assign) BMKSearchErrorCode errorCode;
89
90 @property (nonatomic, strong) BMKReverseGeoCodeSearchResult *result;
91
92 @end
BMKGeoCodeSearchResult::location
CLLocationCoordinate2D location
地址对应的经纬度坐标
Definition: BMKGeocodeSearchResult.h:16
BMKAddressComponent
此类表示地址结果的层次化信息
Definition: BMKTypes.h:398
BMKSearchErrorCode
BMKSearchErrorCode
检索结果状态码
Definition: BMKTypes.h:139
BMKReverseGeoCodeBatchSearchResult
批量反地理编码结果类
Definition: BMKGeocodeSearchResult.h:87
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:55