BaiduMap_IOSSDK_v6.6.7_Docs 6.6.7

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