BaiduMap_IOSSDK_v7.1.0_Docs 7.1.0

BMKAOISearchResult.h
浏览该文件的文档.
1 //
2 // BMKAOISearchResult.h
3 // BaiduMapAPI_Search
4 //
5 // Created by zhangbaojin on 2023/3/9.
6 // Copyright © 2023 Baidu. All rights reserved.
7 //
8
9 #import <BaiduMapAPI_Base/BMKTypes.h>
10
11 NS_ASSUME_NONNULL_BEGIN
12
13 @class BMKAOIInfo;
14
16 @interface BMKAOISearchResult : NSObject
17
19 @property (nonatomic, copy) NSArray<BMKAOIInfo *> *aoiInfoList;
20
21 @end
22
24 typedef enum {
25 BMK_AOI_TYPE_UNKNOWN = 0,
26 BMK_AOI_TYPE_AIRPORT = 1,
27 BMK_AOI_TYPE_RAILWAT_STATION = 2,
28 BMK_AOI_TYPE_SHOPPINGMALL = 3,
29 BMK_AOI_TYPE_GAS_STATION = 4,
30 BMK_AOI_TYPE_SCHOOL = 5,
31 BMK_AOI_TYPE_HOSPITAL = 6,
32 BMK_AOI_TYPE_RESIDENTIAL_DISTRICT = 7,
33 BMK_AOI_TYPE_SCENIC_AREA = 8,
34 BMK_AOI_TYPE_PARK = 9,
35 BMK_AOI_TYPE_FREEWAY_SERVICE = 10,
36 BMK_AOI_TYPE_WATER = 11
37 }BMKAOIType;
38
39
41 @interface BMKAOIInfo : NSObject
42
45 @property (nonatomic, assign, readonly) int order;
46
48 @property (nonatomic, copy, readonly) NSString *uid;
49
51 @property (nonatomic, copy, readonly) NSString *name;
52
54 @property (nonatomic, assign, readonly) BMKAOIType type;
55
57 @property (nonatomic, copy, readonly) NSString *paths;
58
61 @property (nonatomic, assign, readonly) int nearestDistance;
62
65 @property (nonatomic, assign, readonly) int relation;
66
67 @end
68
69 NS_ASSUME_NONNULL_END
BMK_AOI_TYPE_RAILWAT_STATION
@ BMK_AOI_TYPE_RAILWAT_STATION
火车站
Definition: BMKAOISearchResult.h:27
BMK_AOI_TYPE_SHOPPINGMALL
@ BMK_AOI_TYPE_SHOPPINGMALL
商场
Definition: BMKAOISearchResult.h:28
BMK_AOI_TYPE_SCHOOL
@ BMK_AOI_TYPE_SCHOOL
学校
Definition: BMKAOISearchResult.h:30
BMK_AOI_TYPE_AIRPORT
@ BMK_AOI_TYPE_AIRPORT
机场
Definition: BMKAOISearchResult.h:26
BMK_AOI_TYPE_HOSPITAL
@ BMK_AOI_TYPE_HOSPITAL
医院
Definition: BMKAOISearchResult.h:31
BMK_AOI_TYPE_GAS_STATION
@ BMK_AOI_TYPE_GAS_STATION
加油站
Definition: BMKAOISearchResult.h:29
BMKAOISearchResult
aoi检索返回结果类
Definition: BMKAOISearchResult.h:17
BMKAOIInfo
aoi信息类
Definition: BMKAOISearchResult.h:42
BMK_AOI_TYPE_PARK
@ BMK_AOI_TYPE_PARK
公园
Definition: BMKAOISearchResult.h:34
BMK_AOI_TYPE_UNKNOWN
@ BMK_AOI_TYPE_UNKNOWN
未知类型
Definition: BMKAOISearchResult.h:25
BMKAOIType
BMKAOIType
aoi类型
Definition: BMKAOISearchResult.h:24
BMK_AOI_TYPE_SCENIC_AREA
@ BMK_AOI_TYPE_SCENIC_AREA
风景区
Definition: BMKAOISearchResult.h:33
BMK_AOI_TYPE_FREEWAY_SERVICE
@ BMK_AOI_TYPE_FREEWAY_SERVICE
服务区
Definition: BMKAOISearchResult.h:35
BMKAOISearchResult::aoiInfoList
NSArray< BMKAOIInfo * > * aoiInfoList
aoi信息数组
Definition: BMKAOISearchResult.h:19
BMK_AOI_TYPE_WATER
@ BMK_AOI_TYPE_WATER
水域
Definition: BMKAOISearchResult.h:36
BMK_AOI_TYPE_RESIDENTIAL_DISTRICT
@ BMK_AOI_TYPE_RESIDENTIAL_DISTRICT
住宅区
Definition: BMKAOISearchResult.h:32