BaiduMap_IOSSDK_v6.6.6_Docs 6.6.6

载入中...
搜索中...
未找到
BMKTypes.h
浏览该文件的文档.
1//
2// BMKType.h
3// MapPlatform
4//
5// Created by BaiduMapAPI on 13-3-26.
6// Copyright (c) 2013年 baidu. All rights reserved.
7//
8
9#import <CoreGraphics/CoreGraphics.h>
10#import <CoreLocation/CoreLocation.h>
11#import <UIKit/UIKit.h>
12
13#ifndef BMKType_h
14#define BMKType_h
16 typedef enum {
17 BMKMapModuleTile = 0,
18 BMKMapModuleBasic
19} BMKMapModule;
20
22 typedef enum {
23 BMKWeatherServerTypeDefault = 0,
24 BMKLanguageServerTypeAbroad
25} BMKWeatherServerType;
26
28 typedef enum {
29 BMKLanguageTypeChinese = 0,
30 BMKLanguageTypeEnglish
31} BMKLanguageType;
32
34 typedef NS_ENUM(NSInteger, BMKInputLanguageType) {
35 BMKInputLanguageTypeNone = 0,
36 BMKInputLanguageTypeAuto,
37 BMKInputLanguageTypeEnglish,
38 BMKInputLanguageTypeCantonese,
39 BMKInputLanguageTypeClassical,
40 BMKInputLanguageTypeJapanese,
41 BMKInputLanguageTypeKorean,
42 BMKInputLanguageTypeFrench,
43 BMKInputLanguageTypeSpanish,
44 BMKInputLanguageTypeThai,
45 BMKInputLanguageTypeArabic,
46 BMKInputLanguageTypeRussian,
47 BMKInputLanguageTypePortuguese,
48 BMKInputLanguageTypeGerman,
49 BMKInputLanguageTypeItalian,
50 BMKInputLanguageTypeGreek,
51 BMKInputLanguageTypeDutch,
52 BMKInputLanguageTypePolish,
53 BMKInputLanguageTypeBulgarian,
54 BMKInputLanguageTypeEstonian,
55 BMKInputLanguageTypeDanish,
56 BMKInputLanguageTypeFinnish,
57 BMKInputLanguageTypeCzech,
58 BMKInputLanguageTypeRomanian,
59 BMKInputLanguageTypeSlovenian,
60 BMKInputLanguageTypeSwedish,
61 BMKInputLanguageTypeHungarian,
62 BMKInputLanguageTypeTraditionalChinese,
63 BMKInputLanguageTypeVietnamese
64};
65
67 typedef enum {
68 BMKWeatherDataTypeNow = 0,
69 BMKWeatherDataTypeForecasts,
70 BMKWeatherDataTypeForecastsForHour,
71 BMKWeatherDataTypeLifeIndex,
72 BMKWeatherDataTypeAlert,
73 BMKWeatherDataTypeAll
74} BMKWeatherDataType;
75
77 typedef NS_ENUM(NSUInteger, BMKEncodePointType) {
78 BMKEncodePointTypeNone = 0,
79 BMKEncodePointTypeBuildInfo,
80 BMKEncodePointTypeAOI,
81 BMKEncodePointTypeSceneRecognize
82};
83
88 typedef NS_ENUM(NSUInteger, BMK_COORD_TYPE) {
89 BMK_COORDTYPE_GPS = 0,
90 BMK_COORDTYPE_COMMON,
91 BMK_COORDTYPE_BD09LL,
92};
93
98 typedef NS_ENUM(NSUInteger, BMKMapType) {
99 BMKMapTypeNone = 0,
100 BMKMapTypeStandard = 1,
101 BMKMapTypeSatellite = 2,
102};
103
104
105 typedef enum {
106 BMKErrorOk = 0,
107 BMKErrorConnect = 2,
108 BMKErrorData = 3,
109 BMKErrorRouteAddr = 4,
110 BMKErrorResultNotFound = 100,
111 BMKErrorLocationFailed = 200,
112 BMKErrorPermissionCheckFailure = 300,
113 BMKErrorParse = 310
114}BMKErrorCode;
115
119 typedef enum {
120 E_PERMISSIONCHECK_CONNECT_ERROR = -300,
121 E_PERMISSIONCHECK_DATA_ERROR = -200,
122 E_PERMISSIONCHECK_OK = 0,
123 E_PERMISSIONCHECK_KEY_ERROR = 101,
124 E_PERMISSIONCHECK_MCODE_ERROR = 102,
125 E_PERMISSIONCHECK_UID_KEY_ERROR = 200,
126 E_PERMISSIONCHECK_KEY_FORBIDEN = 201,
127 E_PERMISSIONCHECK_KEY_DENY_BY_SERVER = 202,
128 E_PERMISSIONCHECK_USER_DENY_BY_SERVER = 252
129}BMKPermissionCheckResultCode;
130
132 typedef enum {
133 BMK_SEARCH_NO_ERROR = 0,
134 BMK_SEARCH_AMBIGUOUS_KEYWORD,
135 BMK_SEARCH_AMBIGUOUS_ROURE_ADDR,
136 BMK_SEARCH_NOT_SUPPORT_BUS,
137 BMK_SEARCH_NOT_SUPPORT_BUS_2CITY = 4,
138 BMK_SEARCH_RESULT_NOT_FOUND,
139 BMK_SEARCH_ST_EN_TOO_NEAR,
140 BMK_SEARCH_KEY_ERROR,
141 BMK_SEARCH_NETWOKR_ERROR,
142 BMK_SEARCH_NETWOKR_TIMEOUT = 9,
143 BMK_SEARCH_PERMISSION_UNFINISHED,
144 BMK_SEARCH_INDOOR_ID_ERROR,
145 BMK_SEARCH_FLOOR_ERROR,
146 BMK_SEARCH_INDOOR_ROUTE_NO_IN_BUILDING,
147 BMK_SEARCH_INDOOR_ROUTE_NO_IN_SAME_BUILDING = 14,
148 BMK_SEARCH_PARAMETER_ERROR,
149 BMK_SEARCH_SERVER_ERROR,
150 BMK_SEARCH_SERVER_NO_PERMISSIONS,
151 BMK_SEARCH_SERVER_NO_ADVANCED_PERMISSIONS,
152 BMK_SEARCH_SERVER_DISTRICT_NO_DATA = 19,
153 BMK_SEARCH_SERVER_DISTRICT_ID_ERROR
154}BMKSearchErrorCode;
155
157 typedef enum {
158 BMK_OPEN_NO_ERROR = 0,
159 BMK_OPEN_WEB_MAP,
160 BMK_OPEN_OPTION_NULL,
161 BMK_OPEN_NOT_SUPPORT,
162 BMK_OPEN_POI_DETAIL_UID_NULL = 4,
163 BMK_OPEN_POI_NEARBY_KEYWORD_NULL,
164 BMK_OPEN_ROUTE_START_ERROR,
165 BMK_OPEN_ROUTE_END_ERROR,
166 BMK_OPEN_PANORAMA_UID_ERROR,
167 BMK_OPEN_PANORAMA_ABSENT = 9,
168 BMK_OPEN_PERMISSION_UNFINISHED,
169 BMK_OPEN_KEY_ERROR,
170 BMK_OPEN_NETWOKR_ERROR
171}BMKOpenErrorCode;
172
174 typedef struct BMKCoordinateSpan {
175 CLLocationDegrees latitudeDelta;
176 CLLocationDegrees longitudeDelta;
177} BMKCoordinateSpan;
178
179
184UIKIT_STATIC_INLINE BMKCoordinateSpan BMKCoordinateSpanMake(CLLocationDegrees latitudeDelta, CLLocationDegrees longitudeDelta) {
185 BMKCoordinateSpan span;
186 span.latitudeDelta = latitudeDelta;
187 span.longitudeDelta = longitudeDelta;
188 return span;
189}
190
192 typedef struct BMKCoordinateBounds {
193 CLLocationCoordinate2D northEast;
194 CLLocationCoordinate2D southWest;
195} BMKCoordinateBounds;
196
197
199 typedef struct BMKCoordinateRegion {
200 CLLocationCoordinate2D center;
201 BMKCoordinateSpan span;
202} BMKCoordinateRegion;
203
208UIKIT_STATIC_INLINE BMKCoordinateRegion BMKCoordinateRegionMake(CLLocationCoordinate2D centerCoordinate, BMKCoordinateSpan span) {
209 BMKCoordinateRegion region;
210 region.center = centerCoordinate;
211 region.span = span;
212 return region;
213}
214
216 typedef struct BMKGeoPoint {
217 int latitudeE6;
218 int longitudeE6;
219} BMKGeoPoint;
220
222 typedef struct BMKMapPoint {
223 double x;
224 double y;
225} BMKMapPoint;
226
228 typedef struct BMKMCPoint {
229 double x;
230 double y;
231} BMKMCPoint;
232
234 typedef struct BMKMCRect {
235 BMKMCPoint mctLT;
236 BMKMCPoint mctBR;
237} BMKMCRect;
238
243UIKIT_STATIC_INLINE BMKMapPoint BMKMapPointMake(double x, double y) {
244 return (BMKMapPoint){x, y};
245}
246
248 typedef struct BMKMapPoint3 {
249 double x;
250 double y;
251 double z;
252} BMKMapPoint3;
253
259UIKIT_STATIC_INLINE BMKMapPoint3 BMKMapPoint3Make(double x, double y, double z) {
260 return (BMKMapPoint3){x, y, z};
261}
262
264 typedef struct BMKMapSize {
265 double width;
266 double height;
267} BMKMapSize;
268
273UIKIT_STATIC_INLINE BMKMapSize BMKMapSizeMake(double width, double height) {
274 return (BMKMapSize){width, height};
275}
276
278 typedef struct BMKMapRect {
279 BMKMapPoint origin;
280 BMKMapSize size;
281} BMKMapRect;
282
289UIKIT_STATIC_INLINE BMKMapRect BMKMapRectMake(double x, double y, double width, double height) {
290 return (BMKMapRect){ BMKMapPointMake(x, y), BMKMapSizeMake(width, height)};
291}
292
296UIKIT_STATIC_INLINE BOOL BMKMapRectIsNull(BMKMapRect rect) {
297 return isinf(rect.origin.x) || isinf(rect.origin.y);
298}
299
303UIKIT_STATIC_INLINE double BMKMapRectGetMinX(BMKMapRect rect) {
304 return rect.origin.x;
305}
306
310UIKIT_STATIC_INLINE double BMKMapRectGetMinY(BMKMapRect rect) {
311 return rect.origin.y;
312}
313
317UIKIT_STATIC_INLINE double BMKMapRectGetMidX(BMKMapRect rect) {
318 return rect.origin.x + rect.size.width / 2.0;
319}
320
324UIKIT_STATIC_INLINE double BMKMapRectGetMidY(BMKMapRect rect) {
325 return rect.origin.y + rect.size.height / 2.0;
326}
327
331UIKIT_STATIC_INLINE double BMKMapRectGetMaxX(BMKMapRect rect) {
332 return rect.origin.x + rect.size.width;
333}
334
338UIKIT_STATIC_INLINE double BMKMapRectGetMaxY(BMKMapRect rect) {
339 return rect.origin.y + rect.size.height;
340}
341
343 typedef CGFloat BMKZoomScale;
344
346UIKIT_EXTERN const BMKMapSize BMKMapSizeWorld;
348UIKIT_EXTERN const BMKMapRect BMKMapRectWorld;
350UIKIT_EXTERN const BMKMapRect BMKMapRectNull;
351
353@interface BMKPlanNode : NSObject
354
356@property (nonatomic, copy) NSString *cityName;
357
359@property (nonatomic, assign) NSInteger cityID;
360
362@property (nonatomic, copy) NSString *name;
363
365@property (nonatomic, assign) CLLocationCoordinate2D pt;
366
368@property (nonatomic, copy) NSString *uid;
369
371@property (nonatomic, copy) NSString *floor;
372
374@property (nonatomic, copy) NSString *building;
375
376@end
377
379@interface BMKIndoorPlanNode : NSObject
380
382@property (nonatomic, copy) NSString *floor;
383
385@property (nonatomic, assign) CLLocationCoordinate2D pt;
386
387@end
388
390@interface BMKAddressComponent : NSObject
391
393@property (nonatomic, copy) NSString *country;
394
396@property (nonatomic, copy) NSString *province;
397
399@property (nonatomic, copy) NSString *city;
400
402@property (nonatomic, copy) NSString *district;
403
405@property (nonatomic, copy) NSString *town;
406
408@property (nonatomic, copy) NSString *streetName;
409
411@property (nonatomic, copy) NSString *streetNumber;
412
414@property (nonatomic, copy) NSString *adCode;
415
417@property (nonatomic, copy) NSString *countryCode;
418
420@property (nonatomic, copy) NSString *countryCodeISO;
421
423@property (nonatomic, copy) NSString *countryCodeISO2;
424
426@property (nonatomic, copy) NSString *townCode;
427
431@property (nonatomic, copy) NSString *cityLevel;
432
434@property (nonatomic, copy) NSString *direction;
435
437@property (nonatomic, copy) NSString *distance;
438
439@end
440
441#pragma mark - 底图建筑物信息
442
443@interface BMKBuildInfo : NSObject <NSCopying>
444
446@property (nonatomic, copy, readonly) NSString *struct_id;
447
449@property (nonatomic, assign, readonly) float height;
450
452@property (nonatomic, assign, readonly) int accuracy;
453
455@property (nonatomic, assign, readonly) int label;
456
458@property (nonatomic, copy, readonly) NSString *paths;
459
461@property (nonatomic, assign, readonly) CLLocationCoordinate2D center;
462
463@end
464#endif
BMKCoordinateRegion
struct BMKCoordinateRegion BMKCoordinateRegion
表示一个经纬度区域
BMKMapPointMake
UIKIT_STATIC_INLINE BMKMapPoint BMKMapPointMake(double x, double y)
Definition BMKTypes.h:243
BMKMapModule
BMKMapModule
地图模块枚举
Definition BMKTypes.h:16
BMKMapModuleTile
@ BMKMapModuleTile
瓦片图模块
Definition BMKTypes.h:17
BMKMapModuleBasic
@ BMKMapModuleBasic
基础地图模块
Definition BMKTypes.h:18
BMKCoordinateBounds
struct BMKCoordinateBounds BMKCoordinateBounds
表示一个经纬度区域
BMKCoordinateSpanMake
UIKIT_STATIC_INLINE BMKCoordinateSpan BMKCoordinateSpanMake(CLLocationDegrees latitudeDelta, CLLocationDegrees longitudeDelta)
Definition BMKTypes.h:184
BMKMapRectGetMinX
UIKIT_STATIC_INLINE double BMKMapRectGetMinX(BMKMapRect rect)
Definition BMKTypes.h:303
BMKMapRectIsNull
UIKIT_STATIC_INLINE BOOL BMKMapRectIsNull(BMKMapRect rect)
Definition BMKTypes.h:296
BMKMapRect
struct BMKMapRect BMKMapRect
矩形，用直角地理坐标表示
BMKMapRectGetMinY
UIKIT_STATIC_INLINE double BMKMapRectGetMinY(BMKMapRect rect)
Definition BMKTypes.h:310
BMKLanguageType
BMKLanguageType
语言类型枚举
Definition BMKTypes.h:28
BMKLanguageTypeChinese
@ BMKLanguageTypeChinese
中文
Definition BMKTypes.h:29
BMKLanguageTypeEnglish
@ BMKLanguageTypeEnglish
英文
Definition BMKTypes.h:30
BMKPermissionCheckResultCode
BMKPermissionCheckResultCode
Definition BMKTypes.h:119
E_PERMISSIONCHECK_KEY_FORBIDEN
@ E_PERMISSIONCHECK_KEY_FORBIDEN
APP被用户自己禁用，请在控制台解禁
Definition BMKTypes.h:126
E_PERMISSIONCHECK_MCODE_ERROR
@ E_PERMISSIONCHECK_MCODE_ERROR
mcode签名值不正确
Definition BMKTypes.h:124
E_PERMISSIONCHECK_UID_KEY_ERROR
@ E_PERMISSIONCHECK_UID_KEY_ERROR
APP不存在，AK有误请检查再重试
Definition BMKTypes.h:125
E_PERMISSIONCHECK_CONNECT_ERROR
@ E_PERMISSIONCHECK_CONNECT_ERROR
链接服务器错误
Definition BMKTypes.h:120
E_PERMISSIONCHECK_KEY_DENY_BY_SERVER
@ E_PERMISSIONCHECK_KEY_DENY_BY_SERVER
APP被服务端管理员删除
Definition BMKTypes.h:127
E_PERMISSIONCHECK_OK
@ E_PERMISSIONCHECK_OK
授权验证通过
Definition BMKTypes.h:122
E_PERMISSIONCHECK_USER_DENY_BY_SERVER
@ E_PERMISSIONCHECK_USER_DENY_BY_SERVER
用户被服务端管理员删除
Definition BMKTypes.h:128
E_PERMISSIONCHECK_DATA_ERROR
@ E_PERMISSIONCHECK_DATA_ERROR
服务返回数据异常
Definition BMKTypes.h:121
E_PERMISSIONCHECK_KEY_ERROR
@ E_PERMISSIONCHECK_KEY_ERROR
ak不存在
Definition BMKTypes.h:123
BMKCoordinateRegionMake
UIKIT_STATIC_INLINE BMKCoordinateRegion BMKCoordinateRegionMake(CLLocationCoordinate2D centerCoordinate, BMKCoordinateSpan span)
Definition BMKTypes.h:208
BMKMapRectGetMaxX
UIKIT_STATIC_INLINE double BMKMapRectGetMaxX(BMKMapRect rect)
Definition BMKTypes.h:331
BMKMapPoint3Make
UIKIT_STATIC_INLINE BMKMapPoint3 BMKMapPoint3Make(double x, double y, double z)
Definition BMKTypes.h:259
BMKMapPoint3
struct BMKMapPoint3 BMKMapPoint3
三维地理坐标点，用空间坐标表示
BMKMCRect
struct BMKMCRect BMKMCRect
百度墨卡托坐标范围
BMKMCPoint
struct BMKMCPoint BMKMCPoint
百度墨卡托坐标
BMKMapRectWorld
UIKIT_EXTERN const BMKMapRect BMKMapRectWorld
经过投影后的世界矩形范围
Definition BMKTypes.h:348
BMKMapSize
struct BMKMapSize BMKMapSize
矩形大小，用直角地理坐标表示
BMKErrorCode
BMKErrorCode
Definition BMKTypes.h:105
BMKErrorParse
@ BMKErrorParse
数据解析失败
Definition BMKTypes.h:113
BMKErrorRouteAddr
@ BMKErrorRouteAddr
起点或终点选择(有歧义)
Definition BMKTypes.h:109
BMKErrorPermissionCheckFailure
@ BMKErrorPermissionCheckFailure
百度地图API授权Key验证失败
Definition BMKTypes.h:112
BMKErrorResultNotFound
@ BMKErrorResultNotFound
搜索结果未找到
Definition BMKTypes.h:110
BMKErrorOk
@ BMKErrorOk
正确，无错误
Definition BMKTypes.h:106
BMKErrorConnect
@ BMKErrorConnect
网络连接错误
Definition BMKTypes.h:107
BMKErrorLocationFailed
@ BMKErrorLocationFailed
定位失败
Definition BMKTypes.h:111
BMKErrorData
@ BMKErrorData
数据错误
Definition BMKTypes.h:108
BMKGeoPoint
struct BMKGeoPoint BMKGeoPoint
表示一个经纬度坐标点
BMKZoomScale
CGFloat BMKZoomScale
地图缩放比例
Definition BMKTypes.h:343
BMKSearchErrorCode
BMKSearchErrorCode
检索结果状态码
Definition BMKTypes.h:132
BMK_SEARCH_NOT_SUPPORT_BUS_2CITY
@ BMK_SEARCH_NOT_SUPPORT_BUS_2CITY
不支持跨城市公交
Definition BMKTypes.h:137
BMK_SEARCH_INDOOR_ROUTE_NO_IN_SAME_BUILDING
@ BMK_SEARCH_INDOOR_ROUTE_NO_IN_SAME_BUILDING
起终点不在同一个室内
Definition BMKTypes.h:147
BMK_SEARCH_KEY_ERROR
@ BMK_SEARCH_KEY_ERROR
key错误
Definition BMKTypes.h:140
BMK_SEARCH_NETWOKR_ERROR
@ BMK_SEARCH_NETWOKR_ERROR
网络连接错误
Definition BMKTypes.h:141
BMK_SEARCH_AMBIGUOUS_ROURE_ADDR
@ BMK_SEARCH_AMBIGUOUS_ROURE_ADDR
检索地址有岐义
Definition BMKTypes.h:135
BMK_SEARCH_ST_EN_TOO_NEAR
@ BMK_SEARCH_ST_EN_TOO_NEAR
起终点太近
Definition BMKTypes.h:139
BMK_SEARCH_NOT_SUPPORT_BUS
@ BMK_SEARCH_NOT_SUPPORT_BUS
该城市不支持公交搜索
Definition BMKTypes.h:136
BMK_SEARCH_PARAMETER_ERROR
@ BMK_SEARCH_PARAMETER_ERROR
参数错误
Definition BMKTypes.h:148
BMK_SEARCH_SERVER_ERROR
@ BMK_SEARCH_SERVER_ERROR
服务器错误
Definition BMKTypes.h:149
BMK_SEARCH_RESULT_NOT_FOUND
@ BMK_SEARCH_RESULT_NOT_FOUND
没有找到检索结果
Definition BMKTypes.h:138
BMK_SEARCH_SERVER_DISTRICT_NO_DATA
@ BMK_SEARCH_SERVER_DISTRICT_NO_DATA
所在地区无数据覆盖
Definition BMKTypes.h:152
BMK_SEARCH_INDOOR_ID_ERROR
@ BMK_SEARCH_INDOOR_ID_ERROR
室内图ID错误
Definition BMKTypes.h:144
BMK_SEARCH_SERVER_NO_PERMISSIONS
@ BMK_SEARCH_SERVER_NO_PERMISSIONS
需开通权限功能，用户在API控制台中创建或设置某APP的时候禁用了某项服务，若需开通权限，可进入API控制台为AK勾选对应服务
Definition BMKTypes.h:150
BMK_SEARCH_FLOOR_ERROR
@ BMK_SEARCH_FLOOR_ERROR
室内图检索楼层错误
Definition BMKTypes.h:145
BMK_SEARCH_SERVER_DISTRICT_ID_ERROR
@ BMK_SEARCH_SERVER_DISTRICT_ID_ERROR
天气服务查询的区域编码与约定的编码不符
Definition BMKTypes.h:153
BMK_SEARCH_AMBIGUOUS_KEYWORD
@ BMK_SEARCH_AMBIGUOUS_KEYWORD
检索词有岐义
Definition BMKTypes.h:134
BMK_SEARCH_INDOOR_ROUTE_NO_IN_BUILDING
@ BMK_SEARCH_INDOOR_ROUTE_NO_IN_BUILDING
起终点不在支持室内路线的室内图内
Definition BMKTypes.h:146
BMK_SEARCH_PERMISSION_UNFINISHED
@ BMK_SEARCH_PERMISSION_UNFINISHED
还未完成鉴权，请在鉴权通过后重试
Definition BMKTypes.h:143
BMK_SEARCH_NETWOKR_TIMEOUT
@ BMK_SEARCH_NETWOKR_TIMEOUT
网络连接超时
Definition BMKTypes.h:142
BMK_SEARCH_SERVER_NO_ADVANCED_PERMISSIONS
@ BMK_SEARCH_SERVER_NO_ADVANCED_PERMISSIONS
用户需开通高级权限功能
Definition BMKTypes.h:151
BMK_SEARCH_NO_ERROR
@ BMK_SEARCH_NO_ERROR
检索结果正常返回
Definition BMKTypes.h:133
BMKMapRectGetMidY
UIKIT_STATIC_INLINE double BMKMapRectGetMidY(BMKMapRect rect)
Definition BMKTypes.h:324
BMKMapRectNull
UIKIT_EXTERN const BMKMapRect BMKMapRectNull
空的直角坐标矩形
Definition BMKTypes.h:350
BMKMapRectGetMaxY
UIKIT_STATIC_INLINE double BMKMapRectGetMaxY(BMKMapRect rect)
Definition BMKTypes.h:338
BMKMapSizeWorld
UIKIT_EXTERN const BMKMapSize BMKMapSizeWorld
经过投影后的世界范围大小，与经纬度（-85，180）投影后的坐标值对应
Definition BMKTypes.h:346
BMKWeatherServerType
BMKWeatherServerType
天气服务类型枚举
Definition BMKTypes.h:22
BMKWeatherServerTypeDefault
@ BMKWeatherServerTypeDefault
国内
Definition BMKTypes.h:23
BMKLanguageServerTypeAbroad
@ BMKLanguageServerTypeAbroad
海外
Definition BMKTypes.h:24
BMKWeatherDataType
BMKWeatherDataType
天气数据类型枚举
Definition BMKTypes.h:67
BMKWeatherDataTypeForecastsForHour
@ BMKWeatherDataTypeForecastsForHour
按小时天气预报，高级字段
Definition BMKTypes.h:70
BMKWeatherDataTypeLifeIndex
@ BMKWeatherDataTypeLifeIndex
生活指数，仅支持国内，高级字段
Definition BMKTypes.h:71
BMKWeatherDataTypeNow
@ BMKWeatherDataTypeNow
实时天气预报
Definition BMKTypes.h:68
BMKWeatherDataTypeForecasts
@ BMKWeatherDataTypeForecasts
未来五天天气预报
Definition BMKTypes.h:69
BMKWeatherDataTypeAll
@ BMKWeatherDataTypeAll
以上全部，高级字段获取对应权限后可返回
Definition BMKTypes.h:73
BMKWeatherDataTypeAlert
@ BMKWeatherDataTypeAlert
天气事件预警，仅支持国内，高级字段
Definition BMKTypes.h:72
BMKMapPoint
struct BMKMapPoint BMKMapPoint
地理坐标点，用直角地理坐标表示
BMKMapRectGetMidX
UIKIT_STATIC_INLINE double BMKMapRectGetMidX(BMKMapRect rect)
Definition BMKTypes.h:317
BMKMapRectMake
UIKIT_STATIC_INLINE BMKMapRect BMKMapRectMake(double x, double y, double width, double height)
Definition BMKTypes.h:289
BMKOpenErrorCode
BMKOpenErrorCode
调起百度地图结果状态码
Definition BMKTypes.h:157
BMK_OPEN_POI_NEARBY_KEYWORD_NULL
@ BMK_OPEN_POI_NEARBY_KEYWORD_NULL
poi周边 keyWord为空
Definition BMKTypes.h:163
BMK_OPEN_ROUTE_END_ERROR
@ BMK_OPEN_ROUTE_END_ERROR
路线终点有误
Definition BMKTypes.h:165
BMK_OPEN_PERMISSION_UNFINISHED
@ BMK_OPEN_PERMISSION_UNFINISHED
还未完成鉴权，请在鉴权通过后重试
Definition BMKTypes.h:168
BMK_OPEN_NETWOKR_ERROR
@ BMK_OPEN_NETWOKR_ERROR
网络连接错误
Definition BMKTypes.h:170
BMK_OPEN_OPTION_NULL
@ BMK_OPEN_OPTION_NULL
传入的参数为空
Definition BMKTypes.h:160
BMK_OPEN_NO_ERROR
@ BMK_OPEN_NO_ERROR
正常
Definition BMKTypes.h:158
BMK_OPEN_PANORAMA_UID_ERROR
@ BMK_OPEN_PANORAMA_UID_ERROR
调起全景 poiUid不正确
Definition BMKTypes.h:166
BMK_OPEN_NOT_SUPPORT
@ BMK_OPEN_NOT_SUPPORT
没有安装百度地图，或者版本太低
Definition BMKTypes.h:161
BMK_OPEN_POI_DETAIL_UID_NULL
@ BMK_OPEN_POI_DETAIL_UID_NULL
poi详情 poiUid为空
Definition BMKTypes.h:162
BMK_OPEN_WEB_MAP
@ BMK_OPEN_WEB_MAP
打开的是web地图
Definition BMKTypes.h:159
BMK_OPEN_ROUTE_START_ERROR
@ BMK_OPEN_ROUTE_START_ERROR
路线起点有误
Definition BMKTypes.h:164
BMK_OPEN_KEY_ERROR
@ BMK_OPEN_KEY_ERROR
app key错误
Definition BMKTypes.h:169
BMK_OPEN_PANORAMA_ABSENT
@ BMK_OPEN_PANORAMA_ABSENT
调起全景 此处不支持全景
Definition BMKTypes.h:167
BMKCoordinateSpan
struct BMKCoordinateSpan BMKCoordinateSpan
表示一个经纬度范围
NS_ENUM
typedef NS_ENUM(NSInteger, BMKInputLanguageType)
输入语言类型 since 6.6.3
Definition BMKTypes.h:34
BMKMapSizeMake
UIKIT_STATIC_INLINE BMKMapSize BMKMapSizeMake(double width, double height)
Definition BMKTypes.h:273
BMKAddressComponent
此类表示地址结果的层次化信息
Definition BMKTypes.h:391
BMKBuildInfo
Definition BMKTypes.h:443
BMKIndoorPlanNode
室内路线检索节点信息
Definition BMKTypes.h:380
BMKPlanNode
线路检索节点信息,一个路线检索节点可以通过经纬度坐标或城市名加地名确定
Definition BMKTypes.h:354
BMKPlanNode::cityID
NSInteger cityID
节点所在城市ID
Definition BMKTypes.h:359
BMKPlanNode::pt
CLLocationCoordinate2D pt
节点坐标
Definition BMKTypes.h:365
BMKPlanNode::floor
NSString * floor
节点所在楼层
Definition BMKTypes.h:371
BMKPlanNode::building
NSString * building
节点bid
Definition BMKTypes.h:374
BMKPlanNode::uid
NSString * uid
节点POI的uid，在已知起点POI的uid情况下，请尽量填写uid，将提升路线规划的准确性
Definition BMKTypes.h:368
BMKPlanNode::cityName
NSString * cityName
节点所在城市
Definition BMKTypes.h:356
BMKPlanNode::name
NSString * name
节点名称
Definition BMKTypes.h:362
BMKCoordinateBounds
表示一个经纬度区域
Definition BMKTypes.h:192
BMKCoordinateBounds::northEast
CLLocationCoordinate2D northEast
Definition BMKTypes.h:193
BMKCoordinateBounds::southWest
CLLocationCoordinate2D southWest
东北角点经纬度坐标
Definition BMKTypes.h:194
BMKCoordinateRegion
表示一个经纬度区域
Definition BMKTypes.h:199
BMKCoordinateRegion::center
CLLocationCoordinate2D center
Definition BMKTypes.h:200
BMKCoordinateRegion::span
BMKCoordinateSpan span
中心点经纬度坐标
Definition BMKTypes.h:201
BMKCoordinateSpan
表示一个经纬度范围
Definition BMKTypes.h:174
BMKCoordinateSpan::latitudeDelta
CLLocationDegrees latitudeDelta
纬度范围
Definition BMKTypes.h:175
BMKCoordinateSpan::longitudeDelta
CLLocationDegrees longitudeDelta
经度范围
Definition BMKTypes.h:176
BMKGeoPoint
表示一个经纬度坐标点
Definition BMKTypes.h:216
BMKGeoPoint::longitudeE6
int longitudeE6
经度，乘以1e6之后的值
Definition BMKTypes.h:218
BMKGeoPoint::latitudeE6
int latitudeE6
纬度，乘以1e6之后的值
Definition BMKTypes.h:217
BMKMCPoint
百度墨卡托坐标
Definition BMKTypes.h:228
BMKMCPoint::y
double y
横坐标
Definition BMKTypes.h:230
BMKMCPoint::x
double x
Definition BMKTypes.h:229
BMKMCRect
百度墨卡托坐标范围
Definition BMKTypes.h:234
BMKMCRect::mctBR
BMKMCPoint mctBR
左上坐标
Definition BMKTypes.h:236
BMKMCRect::mctLT
BMKMCPoint mctLT
Definition BMKTypes.h:235
BMKMapPoint3
三维地理坐标点，用空间坐标表示
Definition BMKTypes.h:248
BMKMapPoint3::z
double z
纵坐标
Definition BMKTypes.h:251
BMKMapPoint3::x
double x
Definition BMKTypes.h:249
BMKMapPoint3::y
double y
横坐标
Definition BMKTypes.h:250
BMKMapPoint
地理坐标点，用直角地理坐标表示
Definition BMKTypes.h:222
BMKMapPoint::x
double x
Definition BMKTypes.h:223
BMKMapPoint::y
double y
横坐标
Definition BMKTypes.h:224
BMKMapRect
矩形，用直角地理坐标表示
Definition BMKTypes.h:278
BMKMapRect::size
BMKMapSize size
屏幕左上点对应的直角地理坐标
Definition BMKTypes.h:280
BMKMapRect::origin
BMKMapPoint origin
Definition BMKTypes.h:279
BMKMapSize
矩形大小，用直角地理坐标表示
Definition BMKTypes.h:264
BMKMapSize::width
double width
Definition BMKTypes.h:265
BMKMapSize::height
double height
宽度
Definition BMKTypes.h:266