BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

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
15 typedef enum {
17 BMKMapModuleTile = 0,
18 BMKMapModuleBasic,
19 BMKMapModuleCommon
20 } BMKMapModule;
21
23 typedef enum {
24 BMKOverlaySizeAdapt = 0,
25 BMKOverlaySizePixel,
26 } BMKOverlaySizeType;
27
29 typedef enum {
30 BMKWeatherServerTypeDefault = 0,
31 BMKLanguageServerTypeAbroad
32 } BMKWeatherServerType;
33
35 typedef NS_ENUM(NSUInteger, BMKSearchServiceRegionType) {
36 BMK_SEARCH_SERVICE_REGION_DEFAULT = 0,
37 BMK_SEARCH_SERVICE_REGION_ABROAD,
38 };
39
41 typedef enum {
42 BMKLanguageTypeChinese = 0,
43 BMKLanguageTypeEnglish,
44 BMKLanguageTypeTraditionalChinese,
45 BMKLanguageTypeDeutsch,
46 BMKLanguageTypeFrench,
47 BMKLanguageTypePortuguese,
48 BMKLanguageTypeSpanish,
49 BMKLanguageTypeItalian,
50 BMKLanguageTypeRussian,
51 BMKLanguageTypeJapanese,
52 BMKLanguageTypeKorean,
53 BMKLanguageTypeHindi,
54 BMKLanguageTypeIndonesian,
55 } BMKLanguageType;
56
57 FOUNDATION_EXPORT NSString *BMKLanguageTypeToString(BMKLanguageType type);
58 FOUNDATION_EXPORT NSString *BMKWeatherLanguageTypeToString(BMKLanguageType type);
59
61 typedef NS_ENUM(NSInteger, BMKInputLanguageType) {
62 BMKInputLanguageTypeNone = 0,
63 BMKInputLanguageTypeAuto,
64 BMKInputLanguageTypeEnglish,
65 BMKInputLanguageTypeCantonese,
66 BMKInputLanguageTypeClassical,
67 BMKInputLanguageTypeJapanese,
68 BMKInputLanguageTypeKorean,
69 BMKInputLanguageTypeFrench,
70 BMKInputLanguageTypeSpanish,
71 BMKInputLanguageTypeThai,
72 BMKInputLanguageTypeArabic,
73 BMKInputLanguageTypeRussian,
74 BMKInputLanguageTypePortuguese,
75 BMKInputLanguageTypeGerman,
76 BMKInputLanguageTypeItalian,
77 BMKInputLanguageTypeGreek,
78 BMKInputLanguageTypeDutch,
79 BMKInputLanguageTypePolish,
80 BMKInputLanguageTypeBulgarian,
81 BMKInputLanguageTypeEstonian,
82 BMKInputLanguageTypeDanish,
83 BMKInputLanguageTypeFinnish,
84 BMKInputLanguageTypeCzech,
85 BMKInputLanguageTypeRomanian,
86 BMKInputLanguageTypeSlovenian,
87 BMKInputLanguageTypeSwedish,
88 BMKInputLanguageTypeHungarian,
89 BMKInputLanguageTypeTraditionalChinese,
90 BMKInputLanguageTypeVietnamese
91 };
92
94 typedef enum {
95 BMKWeatherDataTypeNow = 0,
96 BMKWeatherDataTypeForecasts,
97 BMKWeatherDataTypeForecastsForHour,
98 BMKWeatherDataTypeLifeIndex,
99 BMKWeatherDataTypeAlert,
100 BMKWeatherDataTypeAll
101 } BMKWeatherDataType;
102
104 typedef NS_ENUM(NSUInteger, BMKEncodePointType) {
105 BMKEncodePointTypeNone = 0,
106 BMKEncodePointTypeBuildInfo,
107 BMKEncodePointTypeAOI,
108 BMKEncodePointTypeSceneRecognize
109 };
110
115 typedef NS_ENUM(NSUInteger, BMK_COORD_TYPE) {
116 BMK_COORDTYPE_GPS = 0,
117 BMK_COORDTYPE_COMMON,
118 BMK_COORDTYPE_BD09LL,
119 };
120
125 typedef NS_ENUM(NSUInteger, BMKMapType) {
126 BMKMapTypeNone = 0,
127 BMKMapTypeStandard = 1,
128 BMKMapTypeSatellite = 2,
129 };
130
131
132 typedef enum {
133 BMKErrorOk = 0,
134 BMKErrorConnect = 2,
135 BMKErrorData = 3,
136 BMKErrorRouteAddr = 4,
137 BMKErrorResultNotFound = 100,
138 BMKErrorLocationFailed = 200,
139 BMKErrorPermissionCheckFailure = 300,
140 BMKErrorParse = 310
141 }BMKErrorCode;
142
146 typedef enum {
147 E_PERMISSIONCHECK_CONNECT_ERROR = -300,
148 E_PERMISSIONCHECK_DATA_ERROR = -200,
149 E_PERMISSIONCHECK_OK = 0,
150 E_PERMISSIONCHECK_KEY_ERROR = 101,
151 E_PERMISSIONCHECK_MCODE_ERROR = 102,
152 E_PERMISSIONCHECK_UID_KEY_ERROR = 200,
153 E_PERMISSIONCHECK_KEY_FORBIDEN = 201,
154 E_PERMISSIONCHECK_KEY_DENY_BY_SERVER = 202,
155 E_PERMISSIONCHECK_USER_DENY_BY_SERVER = 252
156 }BMKPermissionCheckResultCode;
157
159 typedef enum {
160 BMK_SEARCH_NO_ERROR = 0,
161 BMK_SEARCH_AMBIGUOUS_KEYWORD,
162 BMK_SEARCH_AMBIGUOUS_ROURE_ADDR,
163 BMK_SEARCH_NOT_SUPPORT_BUS,
164 BMK_SEARCH_NOT_SUPPORT_BUS_2CITY = 4,
165 BMK_SEARCH_RESULT_NOT_FOUND,
166 BMK_SEARCH_ST_EN_TOO_NEAR,
167 BMK_SEARCH_KEY_ERROR,
168 BMK_SEARCH_NETWOKR_ERROR,
169 BMK_SEARCH_NETWOKR_TIMEOUT = 9,
170 BMK_SEARCH_PERMISSION_UNFINISHED,
171 BMK_SEARCH_INDOOR_ID_ERROR,
172 BMK_SEARCH_FLOOR_ERROR,
173 BMK_SEARCH_INDOOR_ROUTE_NO_IN_BUILDING,
174 BMK_SEARCH_INDOOR_ROUTE_NO_IN_SAME_BUILDING = 14,
175 BMK_SEARCH_PARAMETER_ERROR,
176 BMK_SEARCH_SERVER_ERROR,
177 BMK_SEARCH_SERVER_NO_PERMISSIONS,
178 BMK_SEARCH_SERVER_NO_ADVANCED_PERMISSIONS,
179 BMK_SEARCH_SERVER_DISTRICT_NO_DATA = 19,
180 BMK_SEARCH_SERVER_DISTRICT_ID_ERROR
181 }BMKSearchErrorCode;
182
184 typedef enum {
185 BMK_OPEN_NO_ERROR = 0,
186 BMK_OPEN_WEB_MAP,
187 BMK_OPEN_OPTION_NULL,
188 BMK_OPEN_NOT_SUPPORT,
189 BMK_OPEN_POI_DETAIL_UID_NULL = 4,
190 BMK_OPEN_POI_NEARBY_KEYWORD_NULL,
191 BMK_OPEN_ROUTE_START_ERROR,
192 BMK_OPEN_ROUTE_END_ERROR,
193 BMK_OPEN_PANORAMA_UID_ERROR,
194 BMK_OPEN_PANORAMA_ABSENT = 9,
195 BMK_OPEN_PERMISSION_UNFINISHED,
196 BMK_OPEN_KEY_ERROR,
197 BMK_OPEN_NETWOKR_ERROR
198 }BMKOpenErrorCode;
199
201 typedef struct BMKCoordinateSpan {
202 CLLocationDegrees latitudeDelta;
203 CLLocationDegrees longitudeDelta;
204 } BMKCoordinateSpan;
205
206
211 UIKIT_STATIC_INLINE BMKCoordinateSpan BMKCoordinateSpanMake(CLLocationDegrees latitudeDelta, CLLocationDegrees longitudeDelta) {
212 BMKCoordinateSpan span;
213 span.latitudeDelta = latitudeDelta;
214 span.longitudeDelta = longitudeDelta;
215 return span;
216 }
217
219 typedef struct BMKCoordinateBounds {
220 CLLocationCoordinate2D northEast;
221 CLLocationCoordinate2D southWest;
222 } BMKCoordinateBounds;
223
224
226 typedef struct BMKCoordinateRegion {
227 CLLocationCoordinate2D center;
228 BMKCoordinateSpan span;
229 } BMKCoordinateRegion;
230
235 UIKIT_STATIC_INLINE BMKCoordinateRegion BMKCoordinateRegionMake(CLLocationCoordinate2D centerCoordinate, BMKCoordinateSpan span) {
236 BMKCoordinateRegion region;
237 region.center = centerCoordinate;
238 region.span = span;
239 return region;
240 }
241
243 typedef struct BMKGeoPoint {
244 int latitudeE6;
245 int longitudeE6;
246 } BMKGeoPoint;
247
249 typedef struct BMKMapPoint {
250 double x;
251 double y;
252 } BMKMapPoint;
253
255 typedef struct BMKMCPoint {
256 double x;
257 double y;
258 } BMKMCPoint;
259
261 typedef struct BMKMCRect {
262 BMKMCPoint mctLT;
263 BMKMCPoint mctBR;
264 } BMKMCRect;
265
270 UIKIT_STATIC_INLINE BMKMapPoint BMKMapPointMake(double x, double y) {
271 return (BMKMapPoint){x, y};
272 }
273
275 typedef struct BMKMapPoint3 {
276 double x;
277 double y;
278 double z;
279 } BMKMapPoint3;
280
286 UIKIT_STATIC_INLINE BMKMapPoint3 BMKMapPoint3Make(double x, double y, double z) {
287 return (BMKMapPoint3){x, y, z};
288 }
289
291 typedef struct BMKMapSize {
292 double width;
293 double height;
294 } BMKMapSize;
295
300 UIKIT_STATIC_INLINE BMKMapSize BMKMapSizeMake(double width, double height) {
301 return (BMKMapSize){width, height};
302 }
303
305 typedef struct BMKMapRect {
306 BMKMapPoint origin;
307 BMKMapSize size;
308 } BMKMapRect;
309
316 UIKIT_STATIC_INLINE BMKMapRect BMKMapRectMake(double x, double y, double width, double height) {
317 return (BMKMapRect){ BMKMapPointMake(x, y), BMKMapSizeMake(width, height)};
318 }
319
323 UIKIT_STATIC_INLINE BOOL BMKMapRectIsNull(BMKMapRect rect) {
324 return isinf(rect.origin.x) || isinf(rect.origin.y);
325 }
326
330 UIKIT_STATIC_INLINE double BMKMapRectGetMinX(BMKMapRect rect) {
331 return rect.origin.x;
332 }
333
337 UIKIT_STATIC_INLINE double BMKMapRectGetMinY(BMKMapRect rect) {
338 return rect.origin.y;
339 }
340
344 UIKIT_STATIC_INLINE double BMKMapRectGetMidX(BMKMapRect rect) {
345 return rect.origin.x + rect.size.width / 2.0;
346 }
347
351 UIKIT_STATIC_INLINE double BMKMapRectGetMidY(BMKMapRect rect) {
352 return rect.origin.y + rect.size.height / 2.0;
353 }
354
358 UIKIT_STATIC_INLINE double BMKMapRectGetMaxX(BMKMapRect rect) {
359 return rect.origin.x + rect.size.width;
360 }
361
365 UIKIT_STATIC_INLINE double BMKMapRectGetMaxY(BMKMapRect rect) {
366 return rect.origin.y + rect.size.height;
367 }
368
370 typedef CGFloat BMKZoomScale;
371
373 UIKIT_EXTERN const BMKMapSize BMKMapSizeWorld;
375 UIKIT_EXTERN const BMKMapRect BMKMapRectWorld;
377 UIKIT_EXTERN const BMKMapRect BMKMapRectNull;
378
380 @interface BMKPlanNode : NSObject
381
383 @property (nonatomic, copy) NSString *cityName;
384
386 @property (nonatomic, assign) NSInteger cityID;
387
389 @property (nonatomic, copy) NSString *name;
390
392 @property (nonatomic, assign) CLLocationCoordinate2D pt;
393
395 @property (nonatomic, copy) NSString *uid;
396
398 @property (nonatomic, copy) NSString *floor;
399
401 @property (nonatomic, copy) NSString *building;
402
403 @end
404
406 @interface BMKIndoorPlanNode : NSObject
407
409 @property (nonatomic, copy) NSString *floor;
410
412 @property (nonatomic, assign) CLLocationCoordinate2D pt;
413
414 @end
415
417 @interface BMKAddressComponent : NSObject
418
420 @property (nonatomic, copy) NSString *country;
421
423 @property (nonatomic, copy) NSString *province;
424
426 @property (nonatomic, copy) NSString *city;
427
429 @property (nonatomic, copy) NSString *district;
430
432 @property (nonatomic, copy) NSString *town;
433
435 @property (nonatomic, copy) NSString *streetName;
436
438 @property (nonatomic, copy) NSString *streetNumber;
439
441 @property (nonatomic, copy) NSString *adCode;
442
444 @property (nonatomic, copy) NSString *countryCode;
445
447 @property (nonatomic, copy) NSString *countryCodeISO;
448
450 @property (nonatomic, copy) NSString *countryCodeISO2;
451
453 @property (nonatomic, copy) NSString *regionCodeISO;
454
456 @property (nonatomic, copy) NSString *townCode;
457
461 @property (nonatomic, copy) NSString *cityLevel;
462
464 @property (nonatomic, copy) NSString *direction;
465
467 @property (nonatomic, copy) NSString *distance;
468
469 @end
470
471 #pragma mark - 底图建筑物信息
472
473 @interface BMKBuildInfo : NSObject <NSCopying>
474
476 @property (nonatomic, copy, readonly) NSString *struct_id;
477
479 @property (nonatomic, assign, readonly) float height;
480
482 @property (nonatomic, assign, readonly) int accuracy;
483
485 @property (nonatomic, assign, readonly) int label;
486
488 @property (nonatomic, copy, readonly) NSString *paths;
489
491 @property (nonatomic, assign, readonly) CLLocationCoordinate2D center;
492
493 @end
494 #endif
BMKErrorData
@ BMKErrorData
数据错误
Definition: BMKTypes.h:135
BMKMCPoint
struct BMKMCPoint BMKMCPoint
百度墨卡托坐标
BMKCoordinateSpanMake
UIKIT_STATIC_INLINE BMKCoordinateSpan BMKCoordinateSpanMake(CLLocationDegrees latitudeDelta, CLLocationDegrees longitudeDelta)
Definition: BMKTypes.h:211
BMKGeoPoint::latitudeE6
int latitudeE6
纬度，乘以1e6之后的值
Definition: BMKTypes.h:244
BMKLanguageTypePortuguese
@ BMKLanguageTypePortuguese
Definition: BMKTypes.h:47
BMKWeatherLanguageTypeToString
FOUNDATION_EXPORT NSString * BMKWeatherLanguageTypeToString(BMKLanguageType type)
BMKMapPoint3
三维地理坐标点，用空间坐标表示
Definition: BMKTypes.h:275
BMKLanguageTypeHindi
@ BMKLanguageTypeHindi
印地语
Definition: BMKTypes.h:53
BMK_SEARCH_SERVER_DISTRICT_ID_ERROR
@ BMK_SEARCH_SERVER_DISTRICT_ID_ERROR
天气服务查询的区域编码与约定的编码不符
Definition: BMKTypes.h:180
BMKPlanNode::floor
NSString * floor
节点所在楼层
Definition: BMKTypes.h:398
BMKMapModuleTile
@ BMKMapModuleTile
瓦片图模块
Definition: BMKTypes.h:17
BMK_SEARCH_AMBIGUOUS_ROURE_ADDR
@ BMK_SEARCH_AMBIGUOUS_ROURE_ADDR
检索地址有岐义
Definition: BMKTypes.h:162
BMKMCPoint::x
double x
Definition: BMKTypes.h:256
BMKMapPoint3Make
UIKIT_STATIC_INLINE BMKMapPoint3 BMKMapPoint3Make(double x, double y, double z)
Definition: BMKTypes.h:286
BMKAddressComponent
此类表示地址结果的层次化信息
Definition: BMKTypes.h:418
BMKGeoPoint
表示一个经纬度坐标点
Definition: BMKTypes.h:243
BMKErrorConnect
@ BMKErrorConnect
网络连接错误
Definition: BMKTypes.h:134
E_PERMISSIONCHECK_CONNECT_ERROR
@ E_PERMISSIONCHECK_CONNECT_ERROR
链接服务器错误
Definition: BMKTypes.h:147
BMKLanguageTypeSpanish
@ BMKLanguageTypeSpanish
葡萄牙语
Definition: BMKTypes.h:48
BMK_OPEN_PANORAMA_ABSENT
@ BMK_OPEN_PANORAMA_ABSENT
调起全景 此处不支持全景
Definition: BMKTypes.h:194
BMKOverlaySizeType
BMKOverlaySizeType
overlay大小的类型
Definition: BMKTypes.h:23
E_PERMISSIONCHECK_KEY_FORBIDEN
@ E_PERMISSIONCHECK_KEY_FORBIDEN
APP被用户自己禁用，请在控制台解禁
Definition: BMKTypes.h:153
BMKMapRectGetMinY
UIKIT_STATIC_INLINE double BMKMapRectGetMinY(BMKMapRect rect)
Definition: BMKTypes.h:337
BMKMapSizeMake
UIKIT_STATIC_INLINE BMKMapSize BMKMapSizeMake(double width, double height)
Definition: BMKTypes.h:300
BMKMapRectMake
UIKIT_STATIC_INLINE BMKMapRect BMKMapRectMake(double x, double y, double width, double height)
Definition: BMKTypes.h:316
BMKWeatherDataTypeAlert
@ BMKWeatherDataTypeAlert
天气事件预警，仅支持国内，高级字段
Definition: BMKTypes.h:99
BMKWeatherDataTypeForecasts
@ BMKWeatherDataTypeForecasts
未来五天天气预报
Definition: BMKTypes.h:96
BMKMapPoint3
struct BMKMapPoint3 BMKMapPoint3
三维地理坐标点，用空间坐标表示
BMK_OPEN_NOT_SUPPORT
@ BMK_OPEN_NOT_SUPPORT
没有安装百度地图，或者版本太低
Definition: BMKTypes.h:188
E_PERMISSIONCHECK_KEY_ERROR
@ E_PERMISSIONCHECK_KEY_ERROR
ak不存在
Definition: BMKTypes.h:150
BMKSearchErrorCode
BMKSearchErrorCode
检索结果状态码
Definition: BMKTypes.h:159
BMKLanguageTypeFrench
@ BMKLanguageTypeFrench
法语
Definition: BMKTypes.h:46
BMKWeatherServerType
BMKWeatherServerType
天气服务类型枚举
Definition: BMKTypes.h:29
BMK_SEARCH_PERMISSION_UNFINISHED
@ BMK_SEARCH_PERMISSION_UNFINISHED
还未完成鉴权，请在鉴权通过后重试
Definition: BMKTypes.h:170
E_PERMISSIONCHECK_USER_DENY_BY_SERVER
@ E_PERMISSIONCHECK_USER_DENY_BY_SERVER
用户被服务端管理员删除
Definition: BMKTypes.h:155
BMKMCRect::mctBR
BMKMCPoint mctBR
左上坐标
Definition: BMKTypes.h:263
BMKWeatherServerTypeDefault
@ BMKWeatherServerTypeDefault
国内
Definition: BMKTypes.h:30
BMK_SEARCH_INDOOR_ROUTE_NO_IN_SAME_BUILDING
@ BMK_SEARCH_INDOOR_ROUTE_NO_IN_SAME_BUILDING
起终点不在同一个室内
Definition: BMKTypes.h:174
BMKMapRectNull
UIKIT_EXTERN const BMKMapRect BMKMapRectNull
空的直角坐标矩形
Definition: BMKTypes.h:377
BMKOverlaySizeAdapt
@ BMKOverlaySizeAdapt
自适应大小
Definition: BMKTypes.h:24
BMK_SEARCH_INDOOR_ID_ERROR
@ BMK_SEARCH_INDOOR_ID_ERROR
室内图ID错误
Definition: BMKTypes.h:171
BMKMapPoint
地理坐标点，用直角地理坐标表示
Definition: BMKTypes.h:249
BMKMapPoint3::z
double z
纵坐标
Definition: BMKTypes.h:278
BMKIndoorPlanNode
室内路线检索节点信息
Definition: BMKTypes.h:407
BMKLanguageTypeChinese
@ BMKLanguageTypeChinese
中文
Definition: BMKTypes.h:42
BMKLanguageTypeEnglish
@ BMKLanguageTypeEnglish
英文
Definition: BMKTypes.h:43
BMK_SEARCH_KEY_ERROR
@ BMK_SEARCH_KEY_ERROR
key错误
Definition: BMKTypes.h:167
BMKMapRectGetMidX
UIKIT_STATIC_INLINE double BMKMapRectGetMidX(BMKMapRect rect)
Definition: BMKTypes.h:344
BMKMapSize
struct BMKMapSize BMKMapSize
矩形大小，用直角地理坐标表示
BMK_OPEN_PERMISSION_UNFINISHED
@ BMK_OPEN_PERMISSION_UNFINISHED
还未完成鉴权，请在鉴权通过后重试
Definition: BMKTypes.h:195
BMK_SEARCH_ST_EN_TOO_NEAR
@ BMK_SEARCH_ST_EN_TOO_NEAR
起终点太近
Definition: BMKTypes.h:166
BMK_SEARCH_SERVER_NO_PERMISSIONS
@ BMK_SEARCH_SERVER_NO_PERMISSIONS
需开通权限功能，用户在API控制台中创建或设置某APP的时候禁用了某项服务，若需开通权限，可进入API控制台为AK勾选对应服务
Definition: BMKTypes.h:177
BMKWeatherDataType
BMKWeatherDataType
天气数据类型枚举
Definition: BMKTypes.h:94
BMKWeatherDataTypeLifeIndex
@ BMKWeatherDataTypeLifeIndex
生活指数，仅支持国内，高级字段
Definition: BMKTypes.h:98
BMKCoordinateSpan
表示一个经纬度范围
Definition: BMKTypes.h:201
BMKCoordinateRegion
struct BMKCoordinateRegion BMKCoordinateRegion
表示一个经纬度区域
BMKWeatherDataTypeNow
@ BMKWeatherDataTypeNow
实时天气预报
Definition: BMKTypes.h:95
BMK_SEARCH_INDOOR_ROUTE_NO_IN_BUILDING
@ BMK_SEARCH_INDOOR_ROUTE_NO_IN_BUILDING
起终点不在支持室内路线的室内图内
Definition: BMKTypes.h:173
BMKLanguageTypeItalian
@ BMKLanguageTypeItalian
意大利语
Definition: BMKTypes.h:49
BMKMapModuleBasic
@ BMKMapModuleBasic
基础地图模块
Definition: BMKTypes.h:18
BMKMapRect
struct BMKMapRect BMKMapRect
矩形，用直角地理坐标表示
BMKLanguageTypeDeutsch
@ BMKLanguageTypeDeutsch
德语
Definition: BMKTypes.h:45
BMKLanguageServerTypeAbroad
@ BMKLanguageServerTypeAbroad
海外
Definition: BMKTypes.h:31
NS_ENUM
typedef NS_ENUM(NSUInteger, BMKSearchServiceRegionType)
检索服务境内/境外枚举
Definition: BMKTypes.h:35
BMKMCPoint
百度墨卡托坐标
Definition: BMKTypes.h:255
BMKGeoPoint
struct BMKGeoPoint BMKGeoPoint
表示一个经纬度坐标点
BMKMCRect
struct BMKMCRect BMKMCRect
百度墨卡托坐标范围
BMKLanguageTypeIndonesian
@ BMKLanguageTypeIndonesian
印尼语
Definition: BMKTypes.h:54
E_PERMISSIONCHECK_KEY_DENY_BY_SERVER
@ E_PERMISSIONCHECK_KEY_DENY_BY_SERVER
APP被服务端管理员删除
Definition: BMKTypes.h:154
E_PERMISSIONCHECK_OK
@ E_PERMISSIONCHECK_OK
授权验证通过
Definition: BMKTypes.h:149
BMKCoordinateSpan::longitudeDelta
CLLocationDegrees longitudeDelta
经度范围
Definition: BMKTypes.h:203
BMKMapRectGetMaxX
UIKIT_STATIC_INLINE double BMKMapRectGetMaxX(BMKMapRect rect)
Definition: BMKTypes.h:358
BMKMapModule
BMKMapModule
地图模块枚举
Definition: BMKTypes.h:16
BMKCoordinateRegionMake
UIKIT_STATIC_INLINE BMKCoordinateRegion BMKCoordinateRegionMake(CLLocationCoordinate2D centerCoordinate, BMKCoordinateSpan span)
Definition: BMKTypes.h:235
BMKCoordinateSpan::latitudeDelta
CLLocationDegrees latitudeDelta
纬度范围
Definition: BMKTypes.h:202
BMKLanguageTypeJapanese
@ BMKLanguageTypeJapanese
日语
Definition: BMKTypes.h:51
BMK_SEARCH_FLOOR_ERROR
@ BMK_SEARCH_FLOOR_ERROR
室内图检索楼层错误
Definition: BMKTypes.h:172
BMKPlanNode::building
NSString * building
节点bid
Definition: BMKTypes.h:401
BMKMapPoint::y
double y
横坐标
Definition: BMKTypes.h:251
BMKZoomScale
CGFloat BMKZoomScale
地图缩放比例
Definition: BMKTypes.h:370
E_PERMISSIONCHECK_DATA_ERROR
@ E_PERMISSIONCHECK_DATA_ERROR
服务返回数据异常
Definition: BMKTypes.h:148
BMK_SEARCH_RESULT_NOT_FOUND
@ BMK_SEARCH_RESULT_NOT_FOUND
没有找到检索结果
Definition: BMKTypes.h:165
BMKMapRectGetMidY
UIKIT_STATIC_INLINE double BMKMapRectGetMidY(BMKMapRect rect)
Definition: BMKTypes.h:351
BMKLanguageType
BMKLanguageType
语言类型枚举
Definition: BMKTypes.h:41
BMK_OPEN_ROUTE_START_ERROR
@ BMK_OPEN_ROUTE_START_ERROR
路线起点有误
Definition: BMKTypes.h:191
BMK_SEARCH_NOT_SUPPORT_BUS_2CITY
@ BMK_SEARCH_NOT_SUPPORT_BUS_2CITY
不支持跨城市公交
Definition: BMKTypes.h:164
BMKMapRectIsNull
UIKIT_STATIC_INLINE BOOL BMKMapRectIsNull(BMKMapRect rect)
Definition: BMKTypes.h:323
BMK_OPEN_PANORAMA_UID_ERROR
@ BMK_OPEN_PANORAMA_UID_ERROR
调起全景 poiUid不正确
Definition: BMKTypes.h:193
BMKMapPoint
struct BMKMapPoint BMKMapPoint
地理坐标点，用直角地理坐标表示
BMKCoordinateBounds::southWest
CLLocationCoordinate2D southWest
东北角点经纬度坐标
Definition: BMKTypes.h:221
BMK_OPEN_POI_DETAIL_UID_NULL
@ BMK_OPEN_POI_DETAIL_UID_NULL
poi详情 poiUid为空
Definition: BMKTypes.h:189
BMK_SEARCH_SERVER_ERROR
@ BMK_SEARCH_SERVER_ERROR
服务器错误
Definition: BMKTypes.h:176
BMKLanguageTypeToString
FOUNDATION_EXPORT NSString * BMKLanguageTypeToString(BMKLanguageType type)
BMKMapSize::width
double width
Definition: BMKTypes.h:292
BMKCoordinateRegion
表示一个经纬度区域
Definition: BMKTypes.h:226
BMKMapPoint::x
double x
Definition: BMKTypes.h:250
BMKPlanNode::uid
NSString * uid
节点POI的uid，在已知起点POI的uid情况下，请尽量填写uid，将提升路线规划的准确性
Definition: BMKTypes.h:395
BMKWeatherDataTypeForecastsForHour
@ BMKWeatherDataTypeForecastsForHour
按小时天气预报，高级字段
Definition: BMKTypes.h:97
BMKErrorLocationFailed
@ BMKErrorLocationFailed
定位失败
Definition: BMKTypes.h:138
BMKMCRect
百度墨卡托坐标范围
Definition: BMKTypes.h:261
BMKMapRect::size
BMKMapSize size
屏幕左上点对应的直角地理坐标
Definition: BMKTypes.h:307
BMKCoordinateRegion::center
CLLocationCoordinate2D center
Definition: BMKTypes.h:227
BMK_SEARCH_SERVER_DISTRICT_NO_DATA
@ BMK_SEARCH_SERVER_DISTRICT_NO_DATA
所在地区无数据覆盖
Definition: BMKTypes.h:179
BMK_OPEN_NO_ERROR
@ BMK_OPEN_NO_ERROR
正常
Definition: BMKTypes.h:185
BMKBuildInfo
Definition: BMKTypes.h:473
BMK_SEARCH_SERVER_NO_ADVANCED_PERMISSIONS
@ BMK_SEARCH_SERVER_NO_ADVANCED_PERMISSIONS
用户需开通高级权限功能
Definition: BMKTypes.h:178
BMKLanguageTypeTraditionalChinese
@ BMKLanguageTypeTraditionalChinese
繁体中文
Definition: BMKTypes.h:44
BMKMapRectGetMaxY
UIKIT_STATIC_INLINE double BMKMapRectGetMaxY(BMKMapRect rect)
Definition: BMKTypes.h:365
BMKMapSizeWorld
UIKIT_EXTERN const BMKMapSize BMKMapSizeWorld
经过投影后的世界范围大小，与经纬度（-85，180）投影后的坐标值对应
Definition: BMKTypes.h:373
BMKErrorCode
BMKErrorCode
Definition: BMKTypes.h:132
BMKErrorResultNotFound
@ BMKErrorResultNotFound
搜索结果未找到
Definition: BMKTypes.h:137
BMK_OPEN_NETWOKR_ERROR
@ BMK_OPEN_NETWOKR_ERROR
网络连接错误
Definition: BMKTypes.h:197
BMKOpenErrorCode
BMKOpenErrorCode
调起百度地图结果状态码
Definition: BMKTypes.h:184
BMKCoordinateSpan
struct BMKCoordinateSpan BMKCoordinateSpan
表示一个经纬度范围
BMK_OPEN_POI_NEARBY_KEYWORD_NULL
@ BMK_OPEN_POI_NEARBY_KEYWORD_NULL
poi周边 keyWord为空
Definition: BMKTypes.h:190
BMK_SEARCH_NETWOKR_ERROR
@ BMK_SEARCH_NETWOKR_ERROR
网络连接错误
Definition: BMKTypes.h:168
BMKErrorPermissionCheckFailure
@ BMKErrorPermissionCheckFailure
百度地图API授权Key验证失败
Definition: BMKTypes.h:139
BMKMapRectGetMinX
UIKIT_STATIC_INLINE double BMKMapRectGetMinX(BMKMapRect rect)
Definition: BMKTypes.h:330
BMKMapRect
矩形，用直角地理坐标表示
Definition: BMKTypes.h:305
BMKMapRect::origin
BMKMapPoint origin
Definition: BMKTypes.h:306
BMKPlanNode::pt
CLLocationCoordinate2D pt
节点坐标
Definition: BMKTypes.h:392
E_PERMISSIONCHECK_MCODE_ERROR
@ E_PERMISSIONCHECK_MCODE_ERROR
mcode签名值不正确
Definition: BMKTypes.h:151
BMKCoordinateRegion::span
BMKCoordinateSpan span
中心点经纬度坐标
Definition: BMKTypes.h:228
BMKPlanNode::cityName
NSString * cityName
节点所在城市
Definition: BMKTypes.h:383
BMKMapRectWorld
UIKIT_EXTERN const BMKMapRect BMKMapRectWorld
经过投影后的世界矩形范围
Definition: BMKTypes.h:375
BMKMCRect::mctLT
BMKMCPoint mctLT
Definition: BMKTypes.h:262
BMKWeatherDataTypeAll
@ BMKWeatherDataTypeAll
以上全部，高级字段获取对应权限后可返回
Definition: BMKTypes.h:100
BMKPlanNode::name
NSString * name
节点名称
Definition: BMKTypes.h:389
BMKCoordinateBounds
struct BMKCoordinateBounds BMKCoordinateBounds
表示一个经纬度区域
BMKCoordinateBounds
表示一个经纬度区域
Definition: BMKTypes.h:219
BMKPlanNode
线路检索节点信息,一个路线检索节点可以通过经纬度坐标或城市名加地名确定
Definition: BMKTypes.h:381
BMKMapSize::height
double height
宽度
Definition: BMKTypes.h:293
BMKMapModuleCommon
@ BMKMapModuleCommon
通用模块
Definition: BMKTypes.h:19
BMK_OPEN_ROUTE_END_ERROR
@ BMK_OPEN_ROUTE_END_ERROR
路线终点有误
Definition: BMKTypes.h:192
BMKMapPoint3::y
double y
横坐标
Definition: BMKTypes.h:277
BMKErrorParse
@ BMKErrorParse
数据解析失败
Definition: BMKTypes.h:140
BMKMapPointMake
UIKIT_STATIC_INLINE BMKMapPoint BMKMapPointMake(double x, double y)
Definition: BMKTypes.h:270
E_PERMISSIONCHECK_UID_KEY_ERROR
@ E_PERMISSIONCHECK_UID_KEY_ERROR
APP不存在，AK有误请检查再重试
Definition: BMKTypes.h:152
BMKLanguageTypeKorean
@ BMKLanguageTypeKorean
韩语
Definition: BMKTypes.h:52
BMKErrorRouteAddr
@ BMKErrorRouteAddr
起点或终点选择(有歧义)
Definition: BMKTypes.h:136
BMKGeoPoint::longitudeE6
int longitudeE6
经度，乘以1e6之后的值
Definition: BMKTypes.h:245
BMKErrorOk
@ BMKErrorOk
正确，无错误
Definition: BMKTypes.h:133
BMKMapSize
矩形大小，用直角地理坐标表示
Definition: BMKTypes.h:291
BMKPlanNode::cityID
NSInteger cityID
节点所在城市ID
Definition: BMKTypes.h:386
BMKPermissionCheckResultCode
BMKPermissionCheckResultCode
Definition: BMKTypes.h:146
BMKMapPoint3::x
double x
Definition: BMKTypes.h:276
BMK_SEARCH_NETWOKR_TIMEOUT
@ BMK_SEARCH_NETWOKR_TIMEOUT
网络连接超时
Definition: BMKTypes.h:169
BMKLanguageTypeRussian
@ BMKLanguageTypeRussian
俄语
Definition: BMKTypes.h:50
BMK_SEARCH_PARAMETER_ERROR
@ BMK_SEARCH_PARAMETER_ERROR
参数错误
Definition: BMKTypes.h:175
BMK_SEARCH_AMBIGUOUS_KEYWORD
@ BMK_SEARCH_AMBIGUOUS_KEYWORD
检索词有岐义
Definition: BMKTypes.h:161
BMK_OPEN_OPTION_NULL
@ BMK_OPEN_OPTION_NULL
传入的参数为空
Definition: BMKTypes.h:187
BMK_SEARCH_NOT_SUPPORT_BUS
@ BMK_SEARCH_NOT_SUPPORT_BUS
该城市不支持公交搜索
Definition: BMKTypes.h:163
BMK_SEARCH_NO_ERROR
@ BMK_SEARCH_NO_ERROR
检索结果正常返回
Definition: BMKTypes.h:160
BMKMCPoint::y
double y
横坐标
Definition: BMKTypes.h:257
BMKCoordinateBounds::northEast
CLLocationCoordinate2D northEast
Definition: BMKTypes.h:220
BMK_OPEN_WEB_MAP
@ BMK_OPEN_WEB_MAP
打开的是web地图
Definition: BMKTypes.h:186
BMK_OPEN_KEY_ERROR
@ BMK_OPEN_KEY_ERROR
app key错误
Definition: BMKTypes.h:196
BMKOverlaySizePixel
@ BMKOverlaySizePixel
像素大小
Definition: BMKTypes.h:25