BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

BMKOpenRouteOption.h
浏览该文件的文档.
1 //
2 // BMKOpenRouteOption.h
3 // UtilsComponent
4 //
5 // Created by wzy on 15/3/26.
6 // Copyright (c) 2015年 baidu. All rights reserved.
7 //
8
9 #ifndef UtilsComponent_BMKOpenRouteOption_h
10 #define UtilsComponent_BMKOpenRouteOption_h
11
12 #import <UIKit/UIKit.h>
13 #import "BMKOpenOption.h"
14 #import <BaiduMapAPI_Base/BMKTypes.h>
15
16 typedef enum
17 {
18 BMK_OPEN_TRANSIT_RECOMMAND = 3, //推荐
19 BMK_OPEN_TRANSIT_TRANSFER_FIRST, //少换乘
20 BMK_OPEN_TRANSIT_WALK_FIRST, //少步行
21 BMK_OPEN_TRANSIT_NO_SUBWAY, //不坐地铁
22 BMK_OPEN_TRANSIT_TIME_FIRST, //时间短
23 }BMKOpenTransitPolicy;
24
26 @interface BMKOpenRouteOption : BMKOpenOption
27
29 @property (nonatomic, strong) BMKPlanNode *startPoint;
31 @property (nonatomic, strong) BMKPlanNode *endPoint;
32
33 @end
34
36 @interface BMKOpenWalkingRouteOption : BMKOpenRouteOption
37
38 @end
39
41 @interface BMKOpenDrivingRouteOption : BMKOpenRouteOption
42
43 @end
44
46 @interface BMKOpenTruckRouteOption : BMKOpenRouteOption
47
48 @end
49
51 @interface BMKOpenNewEngRouteOption : BMKOpenRouteOption
52
53 @end
54
56 @interface BMKOpenTransitRouteOption : BMKOpenRouteOption
57
58 //策略，默认：BMK_OPEN_TRANSIT_RECOMMAND(异常值，强制使用BMK_OPEN_TRANSIT_RECOMMAND)
59 @property (nonatomic, assign) BMKOpenTransitPolicy openTransitPolicy;
60
61 @end
62
63
64 #endif
BMKOpenTruckRouteOption
此类管理调起百度地图货车路线时传入的参数
Definition: BMKOpenRouteOption.h:47
BMKOpenRouteOption
此类管理调起百度地图路线时传入的参数
Definition: BMKOpenRouteOption.h:27
BMKOpenDrivingRouteOption
此类管理调起百度地图驾车路线时传入的参数
Definition: BMKOpenRouteOption.h:42
BMKOpenNewEngRouteOption
此类管理调起百度地图新能源车路线时传入的参数
Definition: BMKOpenRouteOption.h:52
BMKOpenWalkingRouteOption
此类管理调起百度地图步行路线时传入的参数
Definition: BMKOpenRouteOption.h:37
BMK_OPEN_TRANSIT_WALK_FIRST
@ BMK_OPEN_TRANSIT_WALK_FIRST
Definition: BMKOpenRouteOption.h:20
BMK_OPEN_TRANSIT_TRANSFER_FIRST
@ BMK_OPEN_TRANSIT_TRANSFER_FIRST
Definition: BMKOpenRouteOption.h:19
BMKOpenTransitPolicy
BMKOpenTransitPolicy
Definition: BMKOpenRouteOption.h:17
BMK_OPEN_TRANSIT_NO_SUBWAY
@ BMK_OPEN_TRANSIT_NO_SUBWAY
Definition: BMKOpenRouteOption.h:21
BMKOpenTransitRouteOption
此类管理调起百度地图公共交通路线时传入的参数
Definition: BMKOpenRouteOption.h:57
BMKOpenRouteOption::endPoint
BMKPlanNode * endPoint
终点
Definition: BMKOpenRouteOption.h:31
BMKOpenOption.h
BMKOpenRouteOption::startPoint
BMKPlanNode * startPoint
起点
Definition: BMKOpenRouteOption.h:29
BMKPlanNode
线路检索节点信息,一个路线检索节点可以通过经纬度坐标或城市名加地名确定
Definition: BMKTypes.h:381
BMKOpenOption
调起百度地图参数基类
Definition: BMKOpenOption.h:14
BMK_OPEN_TRANSIT_RECOMMAND
@ BMK_OPEN_TRANSIT_RECOMMAND
Definition: BMKOpenRouteOption.h:18
BMK_OPEN_TRANSIT_TIME_FIRST
@ BMK_OPEN_TRANSIT_TIME_FIRST
Definition: BMKOpenRouteOption.h:22