OpenSDK8.1.1
Loading...
Searching...
No Matches
<BNLightNaviManagerProtocol> Protocol Reference

轻导航模块接口 More...

#include <BNLightNaviManagerProtocol.h>

Inheritance diagram for <BNLightNaviManagerProtocol>:

Instance Methods

(void) - zoomToSpan:
(void) - startLightNavi
 开始轻导航
(void) - stopLightNavi
 结束轻导航
(BOOL) - switchToRealNav:withNaviType:
(void) - viewWillAppear:
(void) - viewWillDisAppear:
(void) - selectRouteWithRouteDetailIndex:
(NSInteger) - getSelecRouteDetailIndex
 获取当前3tab数据哪个高亮

Properties

id< BNLightNaviManagerDelegate > delegate
 BNLightNaviManager的delegate,接收事件回调
NSInteger autoReturnCarDuration
 自动回车位的间隔,单位为秒,默认为60秒
BOOL deleteRouteWhenArriveDestination
 轻导航中到达终点后是否自动删除路线,默认是YES

Detailed Description

轻导航模块接口

Method Documentation

◆ selectRouteWithRouteDetailIndex:

- (void) selectRouteWithRouteDetailIndex: (NSInteger) routeIndex

根据返回的3tab数据序号选路

Parameters
routeIndex3tab数据BNLightRoutesModel中routesInfo数组的下标

◆ switchToRealNav:withNaviType:

- (BOOL) switchToRealNav: (UIViewController *) presentVC
withNaviType: (NSString *) naviType 

从轻导航切换到专业导航(包括从驾车轻导航切换到驾车专业导航,货车轻导航切换到货车专业导航)

Parameters
presentVCpresent专业导航页面的ViewController
naviType切换到哪种类型的专业导航,从货车轻导航切换到货车专业导航,传"Truck",从驾车轻导航切换到驾车专业导航,传@"Car"

◆ viewWillAppear:

- (void) viewWillAppear: (UIView *) parentView

轻导航底图即将显示,在viewWillAppear中调用

Parameters
parentViewmapView的父view

◆ viewWillDisAppear:

- (void) viewWillDisAppear: (UIView *) parentView

轻导航底图即将消失,在viewWillDisAppear中调用

Parameters
parentViewmapView的父view

◆ zoomToSpan:

- (void) zoomToSpan: (UIEdgeInsets) insets

路线全览

Parameters
insets路线全览区域在mapview上的insets

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