11 #import <Foundation/Foundation.h>
12 #import "BNMapManagerProtocol.h"
13 #import "BNRoutePlanManagerProtocol.h"
14 #import "BNStrategyManagerProtocol.h"
15 #import "BNUIManagerProtocol.h"
16 #import "BNLocationManagerProtocol.h"
17 #import "BNSoundProtocol.h"
18 #import "BNMapOverlayProtocol.h"
19 #import "BNMapViewManagerProtocol.h"
20 #import "BNDriveRouteProtocol.h"
23 #define BNaviService_Instance ([BNaviService getInstance])
24 #define BNaviService_UI ([BNaviService_Instance uiManager])
25 #define BNaviService_RoutePlan ([BNaviService_Instance routePlanManager])
26 #define BNaviService_Strategy ([BNaviService_Instance strategyManager])
27 #define BNaviService_Location ([BNaviService_Instance locationManager])
28 #define BNaviService_Map ([BNaviService_Instance mapManager])
29 #define BNaviService_Sound ([BNaviService_Instance soundManager])
30 #define BNaviService_MapOverlay ([BNaviService_Instance mapOverlayManager])
31 #define BNaviService_MapView ([BNaviService_Instance mapViewManager])
32 #define BNaviService_DriveRoute ([BNaviService_Instance driveRouteManager])
34 #define BNGetNaviVC ((UINavigationController*)[BNaviService_UI navigationController])
35 #define BNGetTopVC [BNGetNaviVC topViewController]
65 - (void)initNaviService:(NSDictionary*)params
66 success:(dispatch_block_t)succes
67 fail:(dispatch_block_t)fail;
75 - (void)authorizeNaviAppKey:(NSString *)appKey
76 completion:(
void (^)(BOOL suc))completion;
86 - (void)authorizeTTSAppId:(NSString*)appId
87 apiKey:(NSString*)apiKey
88 secretKey:(NSString*)secretKey
89 completion:(
void (^)(BOOL suc))completion;
103 #pragma mark - 获取提供各种服务的实体对象
Definition: BNRoutePlanManagerProtocol.h:23
id< BNMapViewManagerProtocol > mapViewManager()
Definition: BNaviService.h:37
Definition: BNUIManagerProtocol.h:38
Definition: BNStrategyManagerProtocol.h:19
id< BNStrategyManagerProtocol > strategyManager()
id< BNLocationManagerProtocol > locationManager()
BNaviService * getInstance()
Definition: BNDriveRouteProtocol.h:21
Definition: BNMapViewManagerProtocol.h:34
id< BNMapOverlayProtocol > mapOverlayManager()
Definition: BNMapManagerProtocol.h:12
id< BNUIManagerProtocol > uiManager()
Definition: BNLocationManagerProtocol.h:16
Definition: BNSoundProtocol.h:39
id< BNMapManagerProtocol > mapManager()
自定义图层管理接口,自定义icon接口
Definition: BNMapOverlayProtocol.h:51
id< BNRoutePlanManagerProtocol > routePlanManager()
id< BNDriveRouteProtocol > driveRouteManager()
id< BNSoundProtocol > soundManager()