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 "BNDigitDogManagerProtocol.h"
20 #import "BNMapViewManagerProtocol.h"
21 #import "BNDriveRouteProtocol.h"
24 #define BNaviService_Instance ([BNaviService getInstance])
25 #define BNaviService_UI ([BNaviService_Instance uiManager])
26 #define BNaviService_RoutePlan ([BNaviService_Instance routePlanManager])
27 #define BNaviService_Strategy ([BNaviService_Instance strategyManager])
28 #define BNaviService_Location ([BNaviService_Instance locationManager])
29 #define BNaviService_Map ([BNaviService_Instance mapManager])
30 #define BNaviService_Sound ([BNaviService_Instance soundManager])
31 #define BNaviService_MapOverlay ([BNaviService_Instance mapOverlayManager])
32 #define BNaviService_DigitDog ([BNaviService_Instance digitDogManager])
33 #define BNaviService_MapView ([BNaviService_Instance mapViewManager])
34 #define BNaviService_DriveRoute ([BNaviService_Instance driveRouteManager])
36 #define BNGetNaviVC ((UINavigationController*)[BNaviService_UI navigationController])
37 #define BNGetTopVC [BNGetNaviVC topViewController]
67 - (void)initNaviService:(NSDictionary*)params
68 success:(dispatch_block_t)succes
69 fail:(dispatch_block_t)fail;
77 - (void)authorizeNaviAppKey:(NSString *)appKey
78 completion:(
void (^)(BOOL suc))completion;
88 - (void)authorizeTTSAppId:(NSString*)appId
89 apiKey:(NSString*)apiKey
90 secretKey:(NSString*)secretKey
91 completion:(
void (^)(BOOL suc))completion;
105 #pragma mark - 获取提供各种服务的实体对象
Definition: BNRoutePlanManagerProtocol.h:23
id< BNMapViewManagerProtocol > mapViewManager()
Definition: BNDigitDogManagerProtocol.h:15
Definition: BNaviService.h:39
Definition: BNUIManagerProtocol.h:38
Definition: BNStrategyManagerProtocol.h:19
id< BNDigitDogManagerProtocol > digitDogManager()
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()