forked from huobazi/DSBBM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BMKNavigation.h
52 lines (43 loc) · 1 KB
/
BMKNavigation.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* BMKNavigation.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import <UIKit/UIKit.h>
#import"BMKTypes.h"
//定义调起导航的两种类型
typedef enum
{
BMK_NAVI_TYPE_NATIVE = 0,//客户端导航
BMK_NAVI_TYPE_WEB,//web导航
} BMK_NAVI_TYPE;
///此类管理调起导航时传入的参数
@interface BMKNaviPara : NSObject
{
BMKPlanNode* _startPoint;
BMKPlanNode* _endPoint;
BMK_NAVI_TYPE _naviType;
NSString* _appScheme;
NSString* _appName;
}
///起点
@property (nonatomic, retain) BMKPlanNode* startPoint;
///终点
@property (nonatomic, retain) BMKPlanNode* endPoint;
///导航类型
@property (nonatomic, assign) BMK_NAVI_TYPE naviType;
///应用返回scheme
@property (nonatomic, retain) NSString* appScheme;
///应用名称
@property (nonatomic, retain) NSString* appName;
@end
///主引擎类
@interface BMKNavigation : NSObject
/**
*启动导航
*@param para 调起导航时传入得参数
*/
+ (void)openBaiduMapNavigation:(BMKNaviPara*)para;
@end