百度导航SDK for iOS类参考
 All Classes Functions Properties
Instance Methods | Properties | List of all members
<BNDriveRouteProtocol> Protocol Reference
Inheritance diagram for <BNDriveRouteProtocol>:

Instance Methods

(void) - showRouteViewAll:animated:
 
(void) - selectRouteAtIndex:
 
(void) - viewWillAppear:
 
(void) - viewWillDisAppear:
 
(void) - startUpdateLocation
 
(void) - stopUpdateLocation
 
(BNCarRouteModel *) - getCurrentCarRouteData
 
(void) - destory
 

Properties

id< BNDriveRouteManagerDelegatedelegate
 

Method Documentation

- (void) destory

销毁BNDriveRouteManager相关资源

- (void) selectRouteAtIndex: (NSUInteger)  routeIndex

选中路线,调用该接口后,同时会高亮该路线

Parameters
routeIndex路线序号(从0开始)
- (void) showRouteViewAll: (BNMargin margin
animated: (BOOL)  animated 

全览路线

Parameters
margin需要显示的路线范围的margin
animated全览是否需要动画
- (void) viewWillAppear: (UIView *)  parentView

驾车路线页即将显示,在viewWillAppear中调用

Parameters
parentViewmapView的父view
- (void) viewWillDisAppear: (UIView *)  parentView

驾车路线页即将消失,在viewWillDisAppear中调用

Parameters
parentViewmapView的父view

Property Documentation

- (id<BNDriveRouteManagerDelegate>) delegate
readwritenonatomicweak

路线结果页面相关事件回调的delegate


The documentation for this protocol was generated from the following file: