|
OpenSDK8.1.1
|
轻导航模块接口 More...
#include <BNLightNaviManagerProtocol.h>
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 | |
轻导航模块接口
| - (void) selectRouteWithRouteDetailIndex: | (NSInteger) | routeIndex |
根据返回的3tab数据序号选路
| routeIndex | 3tab数据BNLightRoutesModel中routesInfo数组的下标 |
| - (BOOL) switchToRealNav: | (UIViewController *) | presentVC | |
| withNaviType: | (NSString *) | naviType |
从轻导航切换到专业导航(包括从驾车轻导航切换到驾车专业导航,货车轻导航切换到货车专业导航)
| presentVC | present专业导航页面的ViewController |
| naviType | 切换到哪种类型的专业导航,从货车轻导航切换到货车专业导航,传"Truck",从驾车轻导航切换到驾车专业导航,传@"Car" |
| - (void) viewWillAppear: | (UIView *) | parentView |
轻导航底图即将显示,在viewWillAppear中调用
| parentView | mapView的父view |
| - (void) viewWillDisAppear: | (UIView *) | parentView |
轻导航底图即将消失,在viewWillDisAppear中调用
| parentView | mapView的父view |
| - (void) zoomToSpan: | (UIEdgeInsets) | insets |
路线全览
| insets | 路线全览区域在mapview上的insets |