BNDriveRouteProtocol Protocol Reference

Conforms to NSObject
Declared in BNDriveRouteProtocol.h

  delegate required method

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

@property (nonatomic, weak) id<BNDriveRouteManagerDelegate> delegate

Discussion

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

Declared In

BNDriveRouteProtocol.h

– showRouteViewAll:animated: required method

全览路线

- (void)showRouteViewAll:(BNMargin)margin animated:(BOOL)animated

Parameters

margin

需要显示的路线范围的margin

animated

全览是否需要动画

Discussion

全览路线

Declared In

BNDriveRouteProtocol.h

– selectRouteAtIndex: required method

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

- (void)selectRouteAtIndex:(NSUInteger)routeIndex

Parameters

routeIndex

路线序号(从0开始)

Discussion

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

Declared In

BNDriveRouteProtocol.h

– viewWillAppear: required method

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

- (void)viewWillAppear:(UIView *)parentView

Parameters

parentView

mapView的父view

Discussion

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

Declared In

BNDriveRouteProtocol.h

– viewWillDisAppear: required method

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

- (void)viewWillDisAppear:(UIView *)parentView

Parameters

parentView

mapView的父view

Discussion

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

Declared In

BNDriveRouteProtocol.h

– destory required method

销毁BNDriveRouteManager相关资源

- (void)destory

Discussion

销毁BNDriveRouteManager相关资源

Declared In

BNDriveRouteProtocol.h