OpenSDK8.1.1
Toggle main menu visibility
Loading...
Searching...
No Matches
BNDriveRouteProtocol.h
1
//
2
// BNDriveRouteProtocol.h
3
// BNDriverPageKit
4
//
5
// Created by linbiao on 2019/5/8.
6
// Copyright © 2019年 Chen,Xintao. All rights reserved.
7
//
8
9
#ifndef BNDriveRouteProtocol_h
10
#define BNDriveRouteProtocol_h
11
#import "BNNaviMessageInfo.h"
12
#import "BNLongJourneyManagerProtocol.h"
13
#import "BNSearchPoiManagerProtocol.h"
15
typedef
struct
BNMargin
{
16
CGFloat top, left, bottom, right;
17
}
BNMargin
;
18
19
#import <Foundation/Foundation.h>
20
@class
BNCarRouteModel
;
21
@class
BNRouteLayerDetailModel
;
22
@protocol
BNDriveRouteManagerDelegate;
23
24
26
@protocol
BNDriveRouteProtocol <NSObject>
27
31
@property
(nonatomic, weak) id<BNDriveRouteManagerDelegate>
delegate
;
32
39
- (void)showRouteViewAll:(
BNMargin
)margin animated:(BOOL)animated;
40
46
- (void)selectRouteAtIndex:(NSUInteger)routeIndex;
47
53
- (void)viewWillAppear:(UIView*)parentView;
54
60
- (void)viewWillDisAppear:(UIView*)parentView;
61
62
/*
63
打开定位,驾车页算路成功后需要打开定位才能显示车标
64
*/
65
- (void)startUpdateLocation;
66
67
/*
68
关闭定位
69
*/
70
- (void)stopUpdateLocation;
71
72
/*
73
获取当前路线信息
74
75
@return 当前路线信息 包含城市信息(cityname,citycode)
76
*/
77
- (
BNCarRouteModel
*)getCurrentCarRouteData;
78
82
- (void)
destory
;
83
84
86
-(id<BNLongJourneyManagerProtocol>)
longJourneyManager
;
87
89
-(id<BNSearchPoiManagerProtocol>)
searchPoiManager
;
90
@end
91
92
94
@protocol
BNDriveRouteManagerDelegate <NSObject>
95
101
- (void)onHandleTouchRouteAtIndex:(NSUInteger)routeIndex;
102
108
- (void)onHandleUpdateCurrentCarPositionInfo:(NSDictionary *)positionInfo;
112
- (void)onHandlePoiLayerInfo:(
BNRouteLayerDetailModel
*)data;
113
117
- (void)onHandleDeleteViaNode:(
BNRoutePlanNode
*)poi;
118
@end
119
120
#endif
/* BNDriveRouteProtocol_h */
BNCarRouteModel
多路线总信息
Definition
BNCarRouteData.h:21
BNRouteLayerDetailModel
路线页气泡数据
Definition
BNNaviMessageInfo.h:429
BNRoutePlanNode
路径规划节点
Definition
BNRoutePlanModel.h:66
BNDriveRouteProtocol-p::delegate
id< BNDriveRouteManagerDelegate > delegate
Definition
BNDriveRouteProtocol.h:31
-[BNDriveRouteProtocol-p searchPoiManager]
id< BNSearchPoiManagerProtocol > searchPoiManager()
路线页沿途搜管理类
-[BNDriveRouteProtocol-p longJourneyManager]
id< BNLongJourneyManagerProtocol > longJourneyManager()
长途路线管理类
-[BNDriveRouteProtocol-p destory]
void destory()
BNMargin
margin结构体
Definition
BNDriveRouteProtocol.h:15
inc
BNDriveRouteProtocol.h
Generated by
1.18.0