BaiduMap_IOSSDK_v6.6.2_Docs 6.6.2
载入中...
搜索中...
未找到
BMKRouteSearchType.h
浏览该文件的文档.
1/*
2 * BMKRouteSearchType.h
3 * BMapKit
4 *
5 * Copyright 2011 Baidu Inc. All rights reserved.
6 *
7 */
8
9#import <CoreLocation/CoreLocation.h>
10#import <Foundation/Foundation.h>
11#import "BMKPoiSearchType.h"
12#import <BaiduMapAPI_Base/BMKTypes.h>
13
20
21
32
33
41
42
49
50
60
61
68
69
76
77
84
85
86
91
92
94@interface BMKTaxiInfo : NSObject
96@property (nonatomic, copy) NSString *desc;
98@property (nonatomic, assign) int distance;
100@property (nonatomic, assign) int duration;
102@property (nonatomic, assign) CGFloat perKMPrice;
104@property (nonatomic, assign) CGFloat startPrice;
106@property (nonatomic, assign) int totalPrice;
107@end
108
109
111@interface BMKVehicleInfo : NSObject
113@property (nonatomic, copy) NSString *uid;
115@property (nonatomic, copy) NSString *title;
117@property (nonatomic, assign) int passStationNum;
119@property (nonatomic, assign) int totalPrice;
121@property (nonatomic, assign) int zonePrice;
122@end
123
124
126@interface BMKTime : NSObject
128@property (nonatomic, assign) int dates;
130@property (nonatomic, assign) int hours;
132@property (nonatomic, assign) int minutes;
134@property (nonatomic, assign) int seconds;
135@end
136
137
139@interface BMKRouteNode : NSObject
141@property (nonatomic, copy) NSString *uid;
143@property (nonatomic, copy) NSString *title;
145@property (nonatomic, assign) CLLocationCoordinate2D location;
146@end
147
148
151@end
152
153
155@interface BMKRouteStep : NSObject
157@property (nonatomic, assign) int distance;
159@property (nonatomic, assign) int duration;
161@property (nonatomic) BMKMapPoint *points;
163@property (nonatomic, assign) int pointsCount;
164@end
165
166
169@end
170
171
175@property (nonatomic, strong) BMKRouteNode *entrace;
177@property (nonatomic, strong) BMKRouteNode *exit;
179@property (nonatomic, copy) NSString *instruction;
181@property (nonatomic, assign) BMKTransitStepType stepType;
183@property (nonatomic, strong) BMKVehicleInfo *vehicleInfo;
184@end
185
186
188@interface BMKBaseVehicleInfo : NSObject
190@property (nonatomic, copy) NSString *name;
192@property (nonatomic, copy) NSString *departureStation;
194@property (nonatomic, copy) NSString *arriveStation;
196@property (nonatomic, copy) NSString *departureTime;
198@property (nonatomic, copy) NSString *arriveTime;
199@end
200
201
205@property (nonatomic, assign) NSInteger passStationNum;
207@property (nonatomic, copy) NSString *firstTime;
209@property (nonatomic, copy) NSString *lastTime;
210@end
211
212
216@property (nonatomic, assign) CGFloat price;
218@property (nonatomic, assign) CGFloat discount;
220@property (nonatomic, copy) NSString *airlines;
222@property (nonatomic, copy) NSString *bookingUrl;
223@end
224
225
229@property (nonatomic, assign) CGFloat price;
231@property (nonatomic, copy) NSString *booking;
232@end
233
237@property (nonatomic, assign) CGFloat price;
239@property (nonatomic, copy) NSString *bookingUrl;
241@property (nonatomic, copy) NSString *providerName;
243@property (nonatomic, copy) NSString *providerUrl;
244@end
245
246
247
249
250
252@interface BMKMassTransitStep : NSObject
254@property (nonatomic, assign) BOOL isSubStep;
256@property (nonatomic, copy) NSArray <BMKMassTransitSubStep *> *steps;
257@end
258
259
263@property (nonatomic, assign) CLLocationCoordinate2D entraceCoor;
265@property (nonatomic, assign) CLLocationCoordinate2D exitCoor;
267@property (nonatomic, copy) NSString *instructions;
269@property (nonatomic, assign) BMKMassTransitType stepType;
271@property (nonatomic, strong) BMKBaseVehicleInfo *vehicleInfo;
272@end
273
274
278@property (nonatomic, assign) int direction;
280@property (nonatomic, strong) BMKRouteNode *entrace;
282@property (nonatomic, copy) NSString *entraceInstruction;
284@property (nonatomic, strong) BMKRouteNode *exit;
286@property (nonatomic, copy) NSString *exitInstruction;
288@property (nonatomic, copy) NSString *instruction;
290@property (nonatomic, assign) int numTurns;
292@property (nonatomic, assign) BOOL hasTrafficsInfo;
294@property (nonatomic, copy) NSArray <NSNumber *> *traffics;
301@property (nonatomic, assign) int roadLevel;
303@property (nonatomic, copy) NSString *roadName;
304@end
305
306
308@interface BMKIndoorStepNode : NSObject
310@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
312@property (nonatomic, assign) BMKIndoorStepNodeType type;
314@property (nonatomic, copy) NSString *desc;
315@end
316
317
321@property (nonatomic, strong) BMKRouteNode *entrace;
323@property (nonatomic, strong) BMKRouteNode *exit;
325@property (nonatomic, copy) NSString *instructions;
327@property (nonatomic, copy) NSString *buildingid;
329@property (nonatomic, copy) NSString *floorid;
331@property (nonatomic, copy) NSArray <BMKIndoorStepNode *> *indoorStepNodes;
332@end
333
334
338@property (nonatomic, assign) int direction;
340@property (nonatomic, strong) BMKRouteNode *entrace;
342@property (nonatomic, copy) NSString *entraceInstruction;
344@property (nonatomic, strong) BMKRouteNode *exit;
346@property (nonatomic, copy) NSString *exitInstruction;
348@property (nonatomic, copy) NSString *instruction;
349@end
350
351
355@property (nonatomic, assign) NSInteger direction;
357@property (nonatomic, strong) BMKRouteNode *entrace;
359@property (nonatomic, copy) NSString *entraceInstruction;
361@property (nonatomic, strong) BMKRouteNode *exit;
363@property (nonatomic, copy) NSString *exitInstruction;
365@property (nonatomic, copy) NSString *instruction;
367@property (nonatomic, copy) NSString *name;
369@property (nonatomic, copy) NSString *turnType;
371@property (nonatomic, assign) NSInteger restrictionsStatus;
373@property (nonatomic, copy) NSString *restrictionsInfo;
374@end
375
376
379@interface BMKRouteLine : NSObject
381@property (nonatomic, assign) int distance;
383@property (nonatomic, strong) BMKTime *duration;
385@property (nonatomic, strong) BMKRouteNode *starting;
387@property (nonatomic, strong) BMKRouteNode *terminal;
389@property (nonatomic, copy) NSString *title;
391@property (nonatomic, assign) NSInteger priv;
393@property (nonatomic, assign) NSInteger next;
395@property (nonatomic, copy) NSArray *steps;
396@end
397
398
401@end
402
403
407@property (nonatomic, assign) CGFloat price;
408@end
409
410
413@end
414
417@end
418
422@property (nonatomic, assign) BOOL isSupportTraffic __deprecated_msg("已废弃since 2.7.0");;
424@property (nonatomic, copy) NSArray <BMKPlanNode *> *wayPoints;
426@property (nonatomic, assign) NSInteger lightNum;
428@property (nonatomic, assign) NSInteger congestionMetres;
430@property (nonatomic, assign) NSInteger taxiFares;
432@property (nonatomic, assign) NSInteger toll;
433
434@end
435
438@end
439
442@end
443
445@class BMKCityListInfo;
446@interface BMKSuggestAddrInfo : NSObject
448@property (nonatomic, copy) NSArray <BMKPoiInfo *> *startPoiList;
450@property (nonatomic, copy) NSArray <BMKCityListInfo *> *startCityList;
452@property (nonatomic, copy) NSArray <BMKPoiInfo *> *endPoiList;
454@property (nonatomic, copy) NSArray <BMKCityListInfo *> *endCityList;
456@property (nonatomic, copy) NSArray <NSArray<BMKPoiInfo *> *> *wayPointPoiList;
458@property (nonatomic, copy) NSArray <NSArray<BMKCityListInfo *> *> *wayPointCityList;
459@end
460
461#pragma mark - 城市列表信息类
463@interface BMKCityListInfo : NSObject
465@property (nonatomic, copy) NSString *city;
467@property (nonatomic, assign) NSInteger num;
468
469@end
BMKIndoorStepNodeType
室内路线结点类型
Definition BMKRouteSearchType.h:35
@ BMK_INDOOR_STEP_NODE_TYPE_ESCALATOR
直梯
Definition BMKRouteSearchType.h:37
@ BMK_INDOOR_STEP_NODE_TYPE_STAIR
扶梯
Definition BMKRouteSearchType.h:38
@ BMK_INDOOR_STEP_NODE_TYPE_ELEVATOR
Definition BMKRouteSearchType.h:36
@ BMK_INDOOR_STEP_NODE_TYPE_SECURITY_CHECK
楼梯
Definition BMKRouteSearchType.h:39
BMKDrivingRequestTrafficType
Definition BMKRouteSearchType.h:87
@ BMK_DRIVING_REQUEST_TRAFFICE_TYPE_PATH_AND_TRAFFICE
不带路况
Definition BMKRouteSearchType.h:89
@ BMK_DRIVING_REQUEST_TRAFFICE_TYPE_NONE
Definition BMKRouteSearchType.h:88
BMKMassTransitIntercityTransPolicy
公共交通:跨城交通方式策略
Definition BMKRouteSearchType.h:71
@ BMK_MASS_TRANSIT_INTERCITY_TRANS_TRAIN_FIRST
Definition BMKRouteSearchType.h:72
@ BMK_MASS_TRANSIT_INTERCITY_TRANS_BUS_FIRST
飞机优先
Definition BMKRouteSearchType.h:74
@ BMK_MASS_TRANSIT_INTERCITY_TRANS_PLANE_FIRST
火车优先
Definition BMKRouteSearchType.h:73
BMKMassTransitIncityPolicy
公共交通:市内公交换乘策略
Definition BMKRouteSearchType.h:52
@ BMK_MASS_TRANSIT_INCITY_NO_SUBWAY
少步行
Definition BMKRouteSearchType.h:56
@ BMK_MASS_TRANSIT_INCITY_TRANSFER_FIRST
推荐
Definition BMKRouteSearchType.h:54
@ BMK_MASS_TRANSIT_INCITY_TIME_FIRST
不坐地铁
Definition BMKRouteSearchType.h:57
@ BMK_MASS_TRANSIT_INCITY_RECOMMEND
Definition BMKRouteSearchType.h:53
@ BMK_MASS_TRANSIT_INCITY_SUBWAY_FIRST
较快捷
Definition BMKRouteSearchType.h:58
@ BMK_MASS_TRANSIT_INCITY_WALK_FIRST
少换乘
Definition BMKRouteSearchType.h:55
BMKTransitStepType
路段类型枚举
Definition BMKRouteSearchType.h:15
@ BMK_SUBWAY
公交
Definition BMKRouteSearchType.h:17
@ BMK_BUSLINE
Definition BMKRouteSearchType.h:16
@ BMK_WAKLING
地铁
Definition BMKRouteSearchType.h:18
BMKMassTransitIntercityPolicy
公共交通:跨城公交换乘策略
Definition BMKRouteSearchType.h:63
@ BMK_MASS_TRANSIT_INTERCITY_TIME_FIRST
Definition BMKRouteSearchType.h:64
@ BMK_MASS_TRANSIT_INTERCITY_PRICE_FIRST
出发早
Definition BMKRouteSearchType.h:66
@ BMK_MASS_TRANSIT_INTERCITY_START_EARLY
较快捷
Definition BMKRouteSearchType.h:65
BMKTransitPolicy
Definition BMKRouteSearchType.h:43
@ BMK_TRANSIT_WALK_FIRST
少换乘(公交)
Definition BMKRouteSearchType.h:46
@ BMK_TRANSIT_TIME_FIRST
Definition BMKRouteSearchType.h:44
@ BMK_TRANSIT_NO_SUBWAY
少步行(公交)
Definition BMKRouteSearchType.h:47
@ BMK_TRANSIT_TRANSFER_FIRST
较快捷(公交)
Definition BMKRouteSearchType.h:45
BMKMassTransitType
交通方式枚举
Definition BMKRouteSearchType.h:23
@ BMK_TRANSIT_WAKLING
驾车
Definition BMKRouteSearchType.h:29
@ BMK_TRANSIT_COACH
步行
Definition BMKRouteSearchType.h:30
@ BMK_TRANSIT_DRIVING
公交
Definition BMKRouteSearchType.h:28
@ BMK_TRANSIT_BUSLINE
飞机
Definition BMKRouteSearchType.h:27
@ BMK_TRANSIT_TRAIN
地铁
Definition BMKRouteSearchType.h:25
@ BMK_TRANSIT_SUBWAY
Definition BMKRouteSearchType.h:24
@ BMK_TRANSIT_PLANE
火车
Definition BMKRouteSearchType.h:26
BMKDrivingPolicy
Definition BMKRouteSearchType.h:78
@ BMK_DRIVING_DIS_FIRST
最短时间(自驾)
Definition BMKRouteSearchType.h:81
@ BMK_DRIVING_BLK_FIRST
Definition BMKRouteSearchType.h:79
@ BMK_DRIVING_FEE_FIRST
最短路程(自驾)
Definition BMKRouteSearchType.h:82
@ BMK_DRIVING_TIME_FIRST
躲避拥堵(自驾)
Definition BMKRouteSearchType.h:80
公共交通方案里的交通工具信息基类类
Definition BMKRouteSearchType.h:189
此类表示公交站点信息
Definition BMKRouteSearchType.h:151
此类表示公交线路中的一个路段
Definition BMKRouteSearchType.h:169
公共交通方案里的交通工具信息类- 公交车、地铁
Definition BMKRouteSearchType.h:204
城市列表信息类
Definition BMKRouteSearchType.h:464
公共交通方案里的交通工具信息类 - 大巴
Definition BMKRouteSearchType.h:236
此类表示一条驾车路线
Definition BMKRouteSearchType.h:421
BOOL isSupportTraffic __deprecated_msg("已废弃since 2.7.0")
该路线所在区域是否含有交通流量信息,从2.7.0开始,废弃
此类表示驾车路线中的一个路段
Definition BMKRouteSearchType.h:277
此类表示一个室内路线
Definition BMKRouteSearchType.h:413
此类表示室内路线的一个路段
Definition BMKRouteSearchType.h:320
室内路线结点
Definition BMKRouteSearchType.h:309
此类表示一体化路线
Definition BMKRouteSearchType.h:417
此类表示一条公共交通路线
Definition BMKRouteSearchType.h:406
此类表示公共交通路线中的路段
Definition BMKRouteSearchType.h:253
此类表示公共交通路线中的一个路段
Definition BMKRouteSearchType.h:262
公共交通方案里的交通工具信息类 - 飞机
Definition BMKRouteSearchType.h:215
此类表示一条骑行路线
Definition BMKRouteSearchType.h:442
此类表示骑行路线中的一个路段
Definition BMKRouteSearchType.h:354
Definition BMKRouteSearchType.h:380
此类表示路线中的一节点,节点包括:路线起终点,公交站点等
Definition BMKRouteSearchType.h:140
此类表示路线中的一个路段(基类)
Definition BMKRouteSearchType.h:156
Definition BMKRouteSearchType.h:447
打车信息类
Definition BMKRouteSearchType.h:95
int distance
总路程,单位: 米
Definition BMKRouteSearchType.h:98
CGFloat startPrice
起步价(白天),单位 元
Definition BMKRouteSearchType.h:104
NSString * desc
路线打车描述信息
Definition BMKRouteSearchType.h:96
int totalPrice
总价(预估) , 单位: 元
Definition BMKRouteSearchType.h:106
CGFloat perKMPrice
每千米单价(白天),单位 元
Definition BMKRouteSearchType.h:102
int duration
总耗时,单位: 秒
Definition BMKRouteSearchType.h:100
此类代表一个时间段,每个属性都是一个时间段。
Definition BMKRouteSearchType.h:127
公共交通方案里的交通工具信息类 - 火车
Definition BMKRouteSearchType.h:228
此类表示一个换乘路线,换乘路线将根据既定策略调配多种交通工具
Definition BMKRouteSearchType.h:401
此类表示公交换乘路线中的一个路段
Definition BMKRouteSearchType.h:174
路线换乘方案里的交通工具信息类
Definition BMKRouteSearchType.h:112
此类表示一条步行路线
Definition BMKRouteSearchType.h:438
此类表示步行路线中的一个路段
Definition BMKRouteSearchType.h:337
地理坐标点,用直角地理坐标表示
Definition BMKTypes.h:189