BaiduMap_IOSSDK_v7.1.0_Docs 7.1.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 BMKWeatherServerTypeDefault = 0,
25 BMKLanguageServerTypeAbroad
26 } BMKWeatherServerType;
27
29 typedef NS_ENUM(NSUInteger, BMKSearchServiceRegionType) {
30 BMK_SEARCH_SERVICE_REGION_DEFAULT = 0,
31 BMK_SEARCH_SERVICE_REGION_ABROAD,
32 };
33
35 typedef enum {
36 BMKLanguageTypeChinese = 0,
37 BMKLanguageTypeEnglish,
38 BMKLanguageTypeTraditionalChinese
39 } BMKLanguageType;
40
42 typedef NS_ENUM(NSInteger, BMKInputLanguageType) {
43 BMKInputLanguageTypeNone = 0,
44 BMKInputLanguageTypeAuto,
45 BMKInputLanguageTypeEnglish,
46 BMKInputLanguageTypeCantonese,
47 BMKInputLanguageTypeClassical,
48 BMKInputLanguageTypeJapanese,
49 BMKInputLanguageTypeKorean,
50 BMKInputLanguageTypeFrench,
51 BMKInputLanguageTypeSpanish,
52 BMKInputLanguageTypeThai,
53 BMKInputLanguageTypeArabic,
54 BMKInputLanguageTypeRussian,
55 BMKInputLanguageTypePortuguese,
56 BMKInputLanguageTypeGerman,
57 BMKInputLanguageTypeItalian,
58 BMKInputLanguageTypeGreek,
59 BMKInputLanguageTypeDutch,
60 BMKInputLanguageTypePolish,
61 BMKInputLanguageTypeBulgarian,
62 BMKInputLanguageTypeEstonian,
63 BMKInputLanguageTypeDanish,
64 BMKInputLanguageTypeFinnish,
65 BMKInputLanguageTypeCzech,
66 BMKInputLanguageTypeRomanian,
67 BMKInputLanguageTypeSlovenian,
68 BMKInputLanguageTypeSwedish,
69 BMKInputLanguageTypeHungarian,
70 BMKInputLanguageTypeTraditionalChinese,
71 BMKInputLanguageTypeVietnamese
72 };
73
75 typedef enum {
76 BMKWeatherDataTypeNow = 0,
77 BMKWeatherDataTypeForecasts,
78 BMKWeatherDataTypeForecastsForHour,
79 BMKWeatherDataTypeLifeIndex,
80 BMKWeatherDataTypeAlert,
81 BMKWeatherDataTypeAll
82 } BMKWeatherDataType;
83
85 typedef NS_ENUM(NSUInteger, BMKEncodePointType) {
86 BMKEncodePointTypeNone = 0,
87 BMKEncodePointTypeBuildInfo,
88 BMKEncodePointTypeAOI,
89 BMKEncodePointTypeSceneRecognize
90 };
91
96 typedef NS_ENUM(NSUInteger, BMK_COORD_TYPE) {
97 BMK_COORDTYPE_GPS = 0,
98 BMK_COORDTYPE_COMMON,
99 BMK_COORDTYPE_BD09LL,
100 };
101
106 typedef NS_ENUM(NSUInteger, BMKMapType) {
107 BMKMapTypeNone = 0,
108 BMKMapTypeStandard = 1,
109 BMKMapTypeSatellite = 2,
110 };
111
112
113 typedef enum {
114 BMKErrorOk = 0,
115 BMKErrorConnect = 2,
116 BMKErrorData = 3,
117 BMKErrorRouteAddr = 4,
118 BMKErrorResultNotFound = 100,
119 BMKErrorLocationFailed = 200,
120 BMKErrorPermissionCheckFailure = 300,
121 BMKErrorParse = 310
122 }BMKErrorCode;
123
127 typedef enum {
128 E_PERMISSIONCHECK_CONNECT_ERROR = -300,
129 E_PERMISSIONCHECK_DATA_ERROR = -200,
130 E_PERMISSIONCHECK_OK = 0,
131 E_PERMISSIONCHECK_KEY_ERROR = 101,
132 E_PERMISSIONCHECK_MCODE_ERROR = 102,
133 E_PERMISSIONCHECK_UID_KEY_ERROR = 200,
134 E_PERMISSIONCHECK_KEY_FORBIDEN = 201,
135 E_PERMISSIONCHECK_KEY_DENY_BY_SERVER = 202,
136 E_PERMISSIONCHECK_USER_DENY_BY_SERVER = 252
137 }BMKPermissionCheckResultCode;
138
140 typedef enum {
141 BMK_SEARCH_NO_ERROR = 0,
142 BMK_SEARCH_AMBIGUOUS_KEYWORD,
143 BMK_SEARCH_AMBIGUOUS_ROURE_ADDR,
144 BMK_SEARCH_NOT_SUPPORT_BUS,
145 BMK_SEARCH_NOT_SUPPORT_BUS_2CITY = 4,
146 BMK_SEARCH_RESULT_NOT_FOUND,
147 BMK_SEARCH_ST_EN_TOO_NEAR,
148 BMK_SEARCH_KEY_ERROR,
149 BMK_SEARCH_NETWOKR_ERROR,
150 BMK_SEARCH_NETWOKR_TIMEOUT = 9,
151 BMK_SEARCH_PERMISSION_UNFINISHED,
152 BMK_SEARCH_INDOOR_ID_ERROR,
153 BMK_SEARCH_FLOOR_ERROR,
154 BMK_SEARCH_INDOOR_ROUTE_NO_IN_BUILDING,
155 BMK_SEARCH_INDOOR_ROUTE_NO_IN_SAME_BUILDING = 14,
156 BMK_SEARCH_PARAMETER_ERROR,
157 BMK_SEARCH_SERVER_ERROR,
158 BMK_SEARCH_SERVER_NO_PERMISSIONS,
159 BMK_SEARCH_SERVER_NO_ADVANCED_PERMISSIONS,
160 BMK_SEARCH_SERVER_DISTRICT_NO_DATA = 19,
161 BMK_SEARCH_SERVER_DISTRICT_ID_ERROR
162 }BMKSearchErrorCode;
163
165 typedef enum {
166 BMK_OPEN_NO_ERROR = 0,
167 BMK_OPEN_WEB_MAP,
168 BMK_OPEN_OPTION_NULL,
169 BMK_OPEN_NOT_SUPPORT,
170 BMK_OPEN_POI_DETAIL_UID_NULL = 4,
171 BMK_OPEN_POI_NEARBY_KEYWORD_NULL,
172 BMK_OPEN_ROUTE_START_ERROR,
173 BMK_OPEN_ROUTE_END_ERROR,
174 BMK_OPEN_PANORAMA_UID_ERROR,
175 BMK_OPEN_PANORAMA_ABSENT = 9,
176 BMK_OPEN_PERMISSION_UNFINISHED,
177 BMK_OPEN_KEY_ERROR,
178 BMK_OPEN_NETWOKR_ERROR
179 }BMKOpenErrorCode;
180
182 typedef struct BMKCoordinateSpan {
183 CLLocationDegrees latitudeDelta;
184 CLLocationDegrees longitudeDelta;
185 } BMKCoordinateSpan;
186
187
192 UIKIT_STATIC_INLINE BMKCoordinateSpan BMKCoordinateSpanMake(CLLocationDegrees latitudeDelta, CLLocationDegrees longitudeDelta) {
193 BMKCoordinateSpan span;
194 span.latitudeDelta = latitudeDelta;
195 span.longitudeDelta = longitudeDelta;
196 return span;
197 }
198
200 typedef struct BMKCoordinateBounds {
201 CLLocationCoordinate2D northEast;
202 CLLocationCoordinate2D southWest;
203 } BMKCoordinateBounds;
204
205
207 typedef struct BMKCoordinateRegion {
208 CLLocationCoordinate2D center;
209 BMKCoordinateSpan span;
210 } BMKCoordinateRegion;
211
216 UIKIT_STATIC_INLINE BMKCoordinateRegion BMKCoordinateRegionMake(CLLocationCoordinate2D centerCoordinate, BMKCoordinateSpan span) {
217 BMKCoordinateRegion region;
218 region.center = centerCoordinate;
219 region.span = span;
220 return region;
221 }
222
224 typedef struct BMKGeoPoint {
225 int latitudeE6;
226 int longitudeE6;
227 } BMKGeoPoint;
228
230 typedef struct BMKMapPoint {
231 double x;
232 double y;
233 } BMKMapPoint;
234
236 typedef struct BMKMCPoint {
237 double x;
238 double y;
239 } BMKMCPoint;
240
242 typedef struct BMKMCRect {
243 BMKMCPoint mctLT;
244 BMKMCPoint mctBR;
245 } BMKMCRect;
246
251 UIKIT_STATIC_INLINE BMKMapPoint BMKMapPointMake(double x, double y) {
252 return (BMKMapPoint){x, y};
253 }
254
256 typedef struct BMKMapPoint3 {
257 double x;
258 double y;
259 double z;
260 } BMKMapPoint3;
261
267 UIKIT_STATIC_INLINE BMKMapPoint3 BMKMapPoint3Make(double x, double y, double z) {
268 return (BMKMapPoint3){x, y, z};
269 }
270
272 typedef struct BMKMapSize {
273 double width;
274 double height;
275 } BMKMapSize;
276
281 UIKIT_STATIC_INLINE BMKMapSize BMKMapSizeMake(double width, double height) {
282 return (BMKMapSize){width, height};
283 }
284
286 typedef struct BMKMapRect {
287 BMKMapPoint origin;
288 BMKMapSize size;
289 } BMKMapRect;
290
297 UIKIT_STATIC_INLINE BMKMapRect BMKMapRectMake(double x, double y, double width, double height) {
298 return (BMKMapRect){ BMKMapPointMake(x, y), BMKMapSizeMake(width, height)};
299 }
300
304 UIKIT_STATIC_INLINE BOOL BMKMapRectIsNull(BMKMapRect rect) {
305 return isinf(rect.origin.x) || isinf(rect.origin.y);
306 }
307
311 UIKIT_STATIC_INLINE double BMKMapRectGetMinX(BMKMapRect rect) {
312 return rect.origin.x;
313 }
314
318 UIKIT_STATIC_INLINE double BMKMapRectGetMinY(BMKMapRect rect) {
319 return rect.origin.y;
320 }
321
325 UIKIT_STATIC_INLINE double BMKMapRectGetMidX(BMKMapRect rect) {
326 return rect.origin.x + rect.size.width / 2.0;
327 }
328
332 UIKIT_STATIC_INLINE double BMKMapRectGetMidY(BMKMapRect rect) {
333 return rect.origin.y + rect.size.height / 2.0;
334 }
335
339 UIKIT_STATIC_INLINE double BMKMapRectGetMaxX(BMKMapRect rect) {
340 return rect.origin.x + rect.size.width;
341 }
342
346 UIKIT_STATIC_INLINE double BMKMapRectGetMaxY(BMKMapRect rect) {
347 return rect.origin.y + rect.size.height;
348 }
349
351 typedef CGFloat BMKZoomScale;
352
354 UIKIT_EXTERN const BMKMapSize BMKMapSizeWorld;
356 UIKIT_EXTERN const BMKMapRect BMKMapRectWorld;
358 UIKIT_EXTERN const BMKMapRect BMKMapRectNull;
359
361 @interface BMKPlanNode : NSObject
362
364 @property (nonatomic, copy) NSString *cityName;
365
367 @property (nonatomic, assign) NSInteger cityID;
368
370 @property (nonatomic, copy) NSString *name;
371
373 @property (nonatomic, assign) CLLocationCoordinate2D pt;
374
376 @property (nonatomic, copy) NSString *uid;
377
379 @property (nonatomic, copy) NSString *floor;
380
382 @property (nonatomic, copy) NSString *building;
383
384 @end
385
387 @interface BMKIndoorPlanNode : NSObject
388
390 @property (nonatomic, copy) NSString *floor;
391
393 @property (nonatomic, assign) CLLocationCoordinate2D pt;
394
395 @end
396
398 @interface BMKAddressComponent : NSObject
399
401 @property (nonatomic, copy) NSString *country;
402
404 @property (nonatomic, copy) NSString *province;
405
407 @property (nonatomic, copy) NSString *city;
408
410 @property (nonatomic, copy) NSString *district;
411
413 @property (nonatomic, copy) NSString *town;
414
416 @property (nonatomic, copy) NSString *streetName;
417
419 @property (nonatomic, copy) NSString *streetNumber;
420
422 @property (nonatomic, copy) NSString *adCode;
423
425 @property (nonatomic, copy) NSString *countryCode;
426
428 @property (nonatomic, copy) NSString *countryCodeISO;
429
431 @property (nonatomic, copy) NSString *countryCodeISO2;
432
434 @property (nonatomic, copy) NSString *townCode;
435
439 @property (nonatomic, copy) NSString *cityLevel;
440
442 @property (nonatomic, copy) NSString *direction;
443
445 @property (nonatomic, copy) NSString *distance;
446
447 @end
448
449 #pragma mark - 底图建筑物信息
450
451 @interface BMKBuildInfo : NSObject <NSCopying>
452
454 @property (nonatomic, copy, readonly) NSString *struct_id;
455
457 @property (nonatomic, assign, readonly) float height;
458
460 @property (nonatomic, assign, readonly) int accuracy;
461
463 @property (nonatomic, assign, readonly) int label;
464
466 @property (nonatomic, copy, readonly) NSString *paths;
467
469 @property (nonatomic, assign, readonly) CLLocationCoordinate2D center;
470
471 @end
472 #endif
BMKErrorData
@ BMKErrorData
数据错误
Definition: BMKTypes.h:116
BMKMCPoint
struct BMKMCPoint BMKMCPoint
百度墨卡托坐标
BMKCoordinateSpanMake
UIKIT_STATIC_INLINE BMKCoordinateSpan BMKCoordinateSpanMake(CLLocationDegrees latitudeDelta, CLLocationDegrees longitudeDelta)
Definition: BMKTypes.h:192
BMKGeoPoint::latitudeE6
int latitudeE6
纬度，乘以1e6之后的值
Definition: BMKTypes.h:225
BMKMapPoint3
三维地理坐标点，用空间坐标表示
Definition: BMKTypes.h:256
BMK_SEARCH_SERVER_DISTRICT_ID_ERROR
@ BMK_SEARCH_SERVER_DISTRICT_ID_ERROR
天气服务查询的区域编码与约定的编码不符
Definition: BMKTypes.h:161
BMKPlanNode::floor
NSString * floor
节点所在楼层
Definition: BMKTypes.h:379
BMKMapModuleTile
@ BMKMapModuleTile
瓦片图模块
Definition: BMKTypes.h:17
BMK_SEARCH_AMBIGUOUS_ROURE_ADDR
@ BMK_SEARCH_AMBIGUOUS_ROURE_ADDR
检索地址有岐义
Definition: BMKTypes.h:143
BMKMCPoint::x
double x
Definition: BMKTypes.h:237
BMKMapPoint3Make
UIKIT_STATIC_INLINE BMKMapPoint3 BMKMapPoint3Make(double x, double y, double z)
Definition: BMKTypes.h:267
BMKAddressComponent
此类表示地址结果的层次化信息
Definition: BMKTypes.h:399
BMKGeoPoint
表示一个经纬度坐标点
Definition: BMKTypes.h:224
BMKErrorConnect
@ BMKErrorConnect
网络连接错误
Definition: BMKTypes.h:115
E_PERMISSIONCHECK_CONNECT_ERROR
@ E_PERMISSIONCHECK_CONNECT_ERROR
链接服务器错误
Definition: BMKTypes.h:128
BMK_OPEN_PANORAMA_ABSENT
@ BMK_OPEN_PANORAMA_ABSENT
调起全景 此处不支持全景
Definition: BMKTypes.h:175
E_PERMISSIONCHECK_KEY_FORBIDEN
@ E_PERMISSIONCHECK_KEY_FORBIDEN
APP被用户自己禁用，请在控制台解禁
Definition: BMKTypes.h:134
BMKMapRectGetMinY
UIKIT_STATIC_INLINE double BMKMapRectGetMinY(BMKMapRect rect)
Definition: BMKTypes.h:318
BMKMapSizeMake
UIKIT_STATIC_INLINE BMKMapSize BMKMapSizeMake(double width, double height)
Definition: BMKTypes.h:281
BMKMapRectMake
UIKIT_STATIC_INLINE BMKMapRect BMKMapRectMake(double x, double y, double width, double height)
Definition: BMKTypes.h:297
BMKWeatherDataTypeAlert
@ BMKWeatherDataTypeAlert
天气事件预警，仅支持国内，高级字段
Definition: BMKTypes.h:80
BMKWeatherDataTypeForecasts
@ BMKWeatherDataTypeForecasts
未来五天天气预报
Definition: BMKTypes.h:77
BMKMapPoint3
struct BMKMapPoint3 BMKMapPoint3
三维地理坐标点，用空间坐标表示
BMK_OPEN_NOT_SUPPORT
@ BMK_OPEN_NOT_SUPPORT
没有安装百度地图，或者版本太低
Definition: BMKTypes.h:169
E_PERMISSIONCHECK_KEY_ERROR
@ E_PERMISSIONCHECK_KEY_ERROR
ak不存在
Definition: BMKTypes.h:131
BMKSearchErrorCode
BMKSearchErrorCode
检索结果状态码
Definition: BMKTypes.h:140
BMKWeatherServerType
BMKWeatherServerType
天气服务类型枚举
Definition: BMKTypes.h:23
BMK_SEARCH_PERMISSION_UNFINISHED
@ BMK_SEARCH_PERMISSION_UNFINISHED
还未完成鉴权，请在鉴权通过后重试
Definition: BMKTypes.h:151
E_PERMISSIONCHECK_USER_DENY_BY_SERVER
@ E_PERMISSIONCHECK_USER_DENY_BY_SERVER
用户被服务端管理员删除
Definition: BMKTypes.h:136
BMKMCRect::mctBR
BMKMCPoint mctBR
左上坐标
Definition: BMKTypes.h:244
BMKWeatherServerTypeDefault
@ BMKWeatherServerTypeDefault
国内
Definition: BMKTypes.h:24
BMK_SEARCH_INDOOR_ROUTE_NO_IN_SAME_BUILDING
@ BMK_SEARCH_INDOOR_ROUTE_NO_IN_SAME_BUILDING
起终点不在同一个室内
Definition: BMKTypes.h:155
BMKMapRectNull
UIKIT_EXTERN const BMKMapRect BMKMapRectNull
空的直角坐标矩形
Definition: BMKTypes.h:358
BMK_SEARCH_INDOOR_ID_ERROR
@ BMK_SEARCH_INDOOR_ID_ERROR
室内图ID错误
Definition: BMKTypes.h:152
BMKMapPoint
地理坐标点，用直角地理坐标表示
Definition: BMKTypes.h:230
BMKMapPoint3::z
double z
纵坐标
Definition: BMKTypes.h:259
BMKIndoorPlanNode
室内路线检索节点信息
Definition: BMKTypes.h:388
BMKLanguageTypeChinese
@ BMKLanguageTypeChinese
中文
Definition: BMKTypes.h:36
BMKLanguageTypeEnglish
@ BMKLanguageTypeEnglish
英文
Definition: BMKTypes.h:37
BMK_SEARCH_KEY_ERROR
@ BMK_SEARCH_KEY_ERROR
key错误
Definition: BMKTypes.h:148
BMKMapRectGetMidX
UIKIT_STATIC_INLINE double BMKMapRectGetMidX(BMKMapRect rect)
Definition: BMKTypes.h:325
BMKMapSize
struct BMKMapSize BMKMapSize
矩形大小，用直角地理坐标表示
BMK_OPEN_PERMISSION_UNFINISHED
@ BMK_OPEN_PERMISSION_UNFINISHED
还未完成鉴权，请在鉴权通过后重试
Definition: BMKTypes.h:176
BMK_SEARCH_ST_EN_TOO_NEAR
@ BMK_SEARCH_ST_EN_TOO_NEAR
起终点太近
Definition: BMKTypes.h:147
BMK_SEARCH_SERVER_NO_PERMISSIONS
@ BMK_SEARCH_SERVER_NO_PERMISSIONS
需开通权限功能，用户在API控制台中创建或设置某APP的时候禁用了某项服务，若需开通权限，可进入API控制台为AK勾选对应服务
Definition: BMKTypes.h:158
BMKWeatherDataType
BMKWeatherDataType
天气数据类型枚举
Definition: BMKTypes.h:75
BMKWeatherDataTypeLifeIndex
@ BMKWeatherDataTypeLifeIndex
生活指数，仅支持国内，高级字段
Definition: BMKTypes.h:79
BMKCoordinateSpan
表示一个经纬度范围
Definition: BMKTypes.h:182
BMKCoordinateRegion
struct BMKCoordinateRegion BMKCoordinateRegion
表示一个经纬度区域
BMKWeatherDataTypeNow
@ BMKWeatherDataTypeNow
实时天气预报
Definition: BMKTypes.h:76
BMK_SEARCH_INDOOR_ROUTE_NO_IN_BUILDING
@ BMK_SEARCH_INDOOR_ROUTE_NO_IN_BUILDING
起终点不在支持室内路线的室内图内
Definition: BMKTypes.h:154
BMKMapModuleBasic
@ BMKMapModuleBasic
基础地图模块
Definition: BMKTypes.h:18
BMKMapRect
struct BMKMapRect BMKMapRect
矩形，用直角地理坐标表示
BMKLanguageServerTypeAbroad
@ BMKLanguageServerTypeAbroad
海外
Definition: BMKTypes.h:25
NS_ENUM
typedef NS_ENUM(NSUInteger, BMKSearchServiceRegionType)
检索服务境内/境外枚举
Definition: BMKTypes.h:29
BMKMCPoint
百度墨卡托坐标
Definition: BMKTypes.h:236
BMKGeoPoint
struct BMKGeoPoint BMKGeoPoint
表示一个经纬度坐标点
BMKMCRect
struct BMKMCRect BMKMCRect
百度墨卡托坐标范围
E_PERMISSIONCHECK_KEY_DENY_BY_SERVER
@ E_PERMISSIONCHECK_KEY_DENY_BY_SERVER
APP被服务端管理员删除
Definition: BMKTypes.h:135
E_PERMISSIONCHECK_OK
@ E_PERMISSIONCHECK_OK
授权验证通过
Definition: BMKTypes.h:130
BMKCoordinateSpan::longitudeDelta
CLLocationDegrees longitudeDelta
经度范围
Definition: BMKTypes.h:184
BMKMapRectGetMaxX
UIKIT_STATIC_INLINE double BMKMapRectGetMaxX(BMKMapRect rect)
Definition: BMKTypes.h:339
BMKMapModule
BMKMapModule
地图模块枚举
Definition: BMKTypes.h:16
BMKCoordinateRegionMake
UIKIT_STATIC_INLINE BMKCoordinateRegion BMKCoordinateRegionMake(CLLocationCoordinate2D centerCoordinate, BMKCoordinateSpan span)
Definition: BMKTypes.h:216
BMKCoordinateSpan::latitudeDelta
CLLocationDegrees latitudeDelta
纬度范围
Definition: BMKTypes.h:183
BMK_SEARCH_FLOOR_ERROR
@ BMK_SEARCH_FLOOR_ERROR
室内图检索楼层错误
Definition: BMKTypes.h:153
BMKPlanNode::building
NSString * building
节点bid
Definition: BMKTypes.h:382
BMKMapPoint::y
double y
横坐标
Definition: BMKTypes.h:232
BMKZoomScale
CGFloat BMKZoomScale
地图缩放比例
Definition: BMKTypes.h:351
E_PERMISSIONCHECK_DATA_ERROR
@ E_PERMISSIONCHECK_DATA_ERROR
服务返回数据异常
Definition: BMKTypes.h:129
BMK_SEARCH_RESULT_NOT_FOUND
@ BMK_SEARCH_RESULT_NOT_FOUND
没有找到检索结果
Definition: BMKTypes.h:146
BMKMapRectGetMidY
UIKIT_STATIC_INLINE double BMKMapRectGetMidY(BMKMapRect rect)
Definition: BMKTypes.h:332
BMKLanguageType
BMKLanguageType
语言类型枚举
Definition: BMKTypes.h:35
BMK_OPEN_ROUTE_START_ERROR
@ BMK_OPEN_ROUTE_START_ERROR
路线起点有误
Definition: BMKTypes.h:172
BMK_SEARCH_NOT_SUPPORT_BUS_2CITY
@ BMK_SEARCH_NOT_SUPPORT_BUS_2CITY
不支持跨城市公交
Definition: BMKTypes.h:145
BMKMapRectIsNull
UIKIT_STATIC_INLINE BOOL BMKMapRectIsNull(BMKMapRect rect)
Definition: BMKTypes.h:304
BMK_OPEN_PANORAMA_UID_ERROR
@ BMK_OPEN_PANORAMA_UID_ERROR
调起全景 poiUid不正确
Definition: BMKTypes.h:174
BMKMapPoint
struct BMKMapPoint BMKMapPoint
地理坐标点，用直角地理坐标表示
BMKCoordinateBounds::southWest
CLLocationCoordinate2D southWest
东北角点经纬度坐标
Definition: BMKTypes.h:202
BMK_OPEN_POI_DETAIL_UID_NULL
@ BMK_OPEN_POI_DETAIL_UID_NULL
poi详情 poiUid为空
Definition: BMKTypes.h:170
BMK_SEARCH_SERVER_ERROR
@ BMK_SEARCH_SERVER_ERROR
服务器错误
Definition: BMKTypes.h:157
BMKMapSize::width
double width
Definition: BMKTypes.h:273
BMKCoordinateRegion
表示一个经纬度区域
Definition: BMKTypes.h:207
BMKMapPoint::x
double x
Definition: BMKTypes.h:231
BMKPlanNode::uid
NSString * uid
节点POI的uid，在已知起点POI的uid情况下，请尽量填写uid，将提升路线规划的准确性
Definition: BMKTypes.h:376
BMKWeatherDataTypeForecastsForHour
@ BMKWeatherDataTypeForecastsForHour
按小时天气预报，高级字段
Definition: BMKTypes.h:78
BMKErrorLocationFailed
@ BMKErrorLocationFailed
定位失败
Definition: BMKTypes.h:119
BMKMCRect
百度墨卡托坐标范围
Definition: BMKTypes.h:242
BMKMapRect::size
BMKMapSize size
屏幕左上点对应的直角地理坐标
Definition: BMKTypes.h:288
BMKCoordinateRegion::center
CLLocationCoordinate2D center
Definition: BMKTypes.h:208
BMK_SEARCH_SERVER_DISTRICT_NO_DATA
@ BMK_SEARCH_SERVER_DISTRICT_NO_DATA
所在地区无数据覆盖
Definition: BMKTypes.h:160
BMK_OPEN_NO_ERROR
@ BMK_OPEN_NO_ERROR
正常
Definition: BMKTypes.h:166
BMKBuildInfo
Definition: BMKTypes.h:451
BMK_SEARCH_SERVER_NO_ADVANCED_PERMISSIONS
@ BMK_SEARCH_SERVER_NO_ADVANCED_PERMISSIONS
用户需开通高级权限功能
Definition: BMKTypes.h:159
BMKLanguageTypeTraditionalChinese
@ BMKLanguageTypeTraditionalChinese
繁体中文
Definition: BMKTypes.h:38
BMKMapRectGetMaxY
UIKIT_STATIC_INLINE double BMKMapRectGetMaxY(BMKMapRect rect)
Definition: BMKTypes.h:346
BMKMapSizeWorld
UIKIT_EXTERN const BMKMapSize BMKMapSizeWorld
经过投影后的世界范围大小，与经纬度（-85，180）投影后的坐标值对应
Definition: BMKTypes.h:354
BMKErrorCode
BMKErrorCode
Definition: BMKTypes.h:113
BMKErrorResultNotFound
@ BMKErrorResultNotFound
搜索结果未找到
Definition: BMKTypes.h:118
BMK_OPEN_NETWOKR_ERROR
@ BMK_OPEN_NETWOKR_ERROR
网络连接错误
Definition: BMKTypes.h:178
BMKOpenErrorCode
BMKOpenErrorCode
调起百度地图结果状态码
Definition: BMKTypes.h:165
BMKCoordinateSpan
struct BMKCoordinateSpan BMKCoordinateSpan
表示一个经纬度范围
BMK_OPEN_POI_NEARBY_KEYWORD_NULL
@ BMK_OPEN_POI_NEARBY_KEYWORD_NULL
poi周边 keyWord为空
Definition: BMKTypes.h:171
BMK_SEARCH_NETWOKR_ERROR
@ BMK_SEARCH_NETWOKR_ERROR
网络连接错误
Definition: BMKTypes.h:149
BMKErrorPermissionCheckFailure
@ BMKErrorPermissionCheckFailure
百度地图API授权Key验证失败
Definition: BMKTypes.h:120
BMKMapRectGetMinX
UIKIT_STATIC_INLINE double BMKMapRectGetMinX(BMKMapRect rect)
Definition: BMKTypes.h:311
BMKMapRect
矩形，用直角地理坐标表示
Definition: BMKTypes.h:286
BMKMapRect::origin
BMKMapPoint origin
Definition: BMKTypes.h:287
BMKPlanNode::pt
CLLocationCoordinate2D pt
节点坐标
Definition: BMKTypes.h:373
E_PERMISSIONCHECK_MCODE_ERROR
@ E_PERMISSIONCHECK_MCODE_ERROR
mcode签名值不正确
Definition: BMKTypes.h:132
BMKCoordinateRegion::span
BMKCoordinateSpan span
中心点经纬度坐标
Definition: BMKTypes.h:209
BMKPlanNode::cityName
NSString * cityName
节点所在城市
Definition: BMKTypes.h:364
BMKMapRectWorld
UIKIT_EXTERN const BMKMapRect BMKMapRectWorld
经过投影后的世界矩形范围
Definition: BMKTypes.h:356
BMKMCRect::mctLT
BMKMCPoint mctLT
Definition: BMKTypes.h:243
BMKWeatherDataTypeAll
@ BMKWeatherDataTypeAll
以上全部，高级字段获取对应权限后可返回
Definition: BMKTypes.h:81
BMKPlanNode::name
NSString * name
节点名称
Definition: BMKTypes.h:370
BMKCoordinateBounds
struct BMKCoordinateBounds BMKCoordinateBounds
表示一个经纬度区域
BMKCoordinateBounds
表示一个经纬度区域
Definition: BMKTypes.h:200
BMKPlanNode
线路检索节点信息,一个路线检索节点可以通过经纬度坐标或城市名加地名确定
Definition: BMKTypes.h:362
BMKMapSize::height
double height
宽度
Definition: BMKTypes.h:274
BMKMapModuleCommon
@ BMKMapModuleCommon
通用模块
Definition: BMKTypes.h:19
BMK_OPEN_ROUTE_END_ERROR
@ BMK_OPEN_ROUTE_END_ERROR
路线终点有误
Definition: BMKTypes.h:173
BMKMapPoint3::y
double y
横坐标
Definition: BMKTypes.h:258
BMKErrorParse
@ BMKErrorParse
数据解析失败
Definition: BMKTypes.h:121
BMKMapPointMake
UIKIT_STATIC_INLINE BMKMapPoint BMKMapPointMake(double x, double y)
Definition: BMKTypes.h:251
E_PERMISSIONCHECK_UID_KEY_ERROR
@ E_PERMISSIONCHECK_UID_KEY_ERROR
APP不存在，AK有误请检查再重试
Definition: BMKTypes.h:133
BMKErrorRouteAddr
@ BMKErrorRouteAddr
起点或终点选择(有歧义)
Definition: BMKTypes.h:117
BMKGeoPoint::longitudeE6
int longitudeE6
经度，乘以1e6之后的值
Definition: BMKTypes.h:226
BMKErrorOk
@ BMKErrorOk
正确，无错误
Definition: BMKTypes.h:114
BMKMapSize
矩形大小，用直角地理坐标表示
Definition: BMKTypes.h:272
BMKPlanNode::cityID
NSInteger cityID
节点所在城市ID
Definition: BMKTypes.h:367
BMKPermissionCheckResultCode
BMKPermissionCheckResultCode
Definition: BMKTypes.h:127
BMKMapPoint3::x
double x
Definition: BMKTypes.h:257
BMK_SEARCH_NETWOKR_TIMEOUT
@ BMK_SEARCH_NETWOKR_TIMEOUT
网络连接超时
Definition: BMKTypes.h:150
BMK_SEARCH_PARAMETER_ERROR
@ BMK_SEARCH_PARAMETER_ERROR
参数错误
Definition: BMKTypes.h:156
BMK_SEARCH_AMBIGUOUS_KEYWORD
@ BMK_SEARCH_AMBIGUOUS_KEYWORD
检索词有岐义
Definition: BMKTypes.h:142
BMK_OPEN_OPTION_NULL
@ BMK_OPEN_OPTION_NULL
传入的参数为空
Definition: BMKTypes.h:168
BMK_SEARCH_NOT_SUPPORT_BUS
@ BMK_SEARCH_NOT_SUPPORT_BUS
该城市不支持公交搜索
Definition: BMKTypes.h:144
BMK_SEARCH_NO_ERROR
@ BMK_SEARCH_NO_ERROR
检索结果正常返回
Definition: BMKTypes.h:141
BMKMCPoint::y
double y
横坐标
Definition: BMKTypes.h:238
BMKCoordinateBounds::northEast
CLLocationCoordinate2D northEast
Definition: BMKTypes.h:201
BMK_OPEN_WEB_MAP
@ BMK_OPEN_WEB_MAP
打开的是web地图
Definition: BMKTypes.h:167
BMK_OPEN_KEY_ERROR
@ BMK_OPEN_KEY_ERROR
app key错误
Definition: BMKTypes.h:177