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