高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
AMapNaviCompositeManager.h
Go to the documentation of this file.
1//
2// AMapNaviManager.h
3// AMapNaviKit
4//
5// Created by eidan on 2017/5/9.
6// Copyright © 2017年 Amap. All rights reserved.
7//
8
9#import "AMapNaviCommonObj.h"
10
11@class AMapNaviRoute;
12@class AMapNaviLocation;
13@class AMapNaviCompositeUserConfig;
14@class AMapNaviCustomAnnotation;
15@protocol AMapNaviCompositeOverlay;
16@protocol MAMapViewDelegate;
17@class AMapNaviCompositeCustomAnnotation;
18
19@protocol AMapNaviCompositeManagerDelegate;
20
23@interface AMapNaviCompositeManager : NSObject
24
27@property (nonatomic, weak, nullable) id<AMapNaviCompositeManagerDelegate>delegate;
28
31@property (nonatomic, readonly) NSInteger naviRouteID;
32
35@property (nonatomic, readonly, nullable) AMapNaviRoute *naviRoute;
36
39@property (nonatomic, readonly, nullable) NSArray<NSNumber *> *naviRouteIDs;
40
43@property (nonatomic, readonly, nullable) NSDictionary<NSNumber *, AMapNaviRoute *> *naviRoutes;
44
51- (void)presentRoutePlanViewControllerWithOptions:(AMapNaviCompositeUserConfig *_Nullable)options;
52
59- (void)dismissWithAnimated:(BOOL)animated;
60
67- (void)addAnnotation:(AMapNaviCustomAnnotation *_Nonnull)annotation;
68
75- (void)addCompositeAnnotation:(AMapNaviCompositeCustomAnnotation *_Nonnull)annotation;
76
83- (void)removeAnnotation:(AMapNaviCustomAnnotation *_Nonnull)annotation;
84
91- (void)removeCompositeAnnotation:(AMapNaviCompositeCustomAnnotation *_Nonnull)annotation;
92
99- (void)addCustomOverlay:(id <AMapNaviCompositeOverlay>_Nonnull)customOverlay;
100
107- (void)removeCustomOverlay:(id <AMapNaviCompositeOverlay>_Nonnull)customOverlay;
108@end
109
112@protocol AMapNaviCompositeManagerDelegate <NSObject>
113
114@optional
115
124- (void)compositeManager:(AMapNaviCompositeManager *_Nonnull)compositeManager error:(NSError *_Nonnull)error;
125
132- (void)compositeManagerOnCalculateRouteSuccess:(AMapNaviCompositeManager *_Nonnull)compositeManager;
133
142- (void)compositeManager:(AMapNaviCompositeManager *_Nonnull)compositeManager onCalculateRouteSuccessWithType:(AMapNaviRoutePlanType)type;
143
152- (void)compositeManager:(AMapNaviCompositeManager *_Nonnull)compositeManager onCalculateRouteFailure:(NSError *_Nonnull)error;
153
162- (void)compositeManager:(AMapNaviCompositeManager *_Nonnull)compositeManager didStartNavi:(AMapNaviMode)naviMode;
163
172- (BOOL)compositeManagerIsNaviSoundPlaying:(AMapNaviCompositeManager *_Nonnull)compositeManager;
173
184- (void)compositeManager:(AMapNaviCompositeManager *_Nonnull)compositeManager playNaviSoundString:(NSString *_Nullable)soundString soundStringType:(AMapNaviSoundType)soundStringType;
185
192- (void)compositeManagerStopPlayNaviSound:(AMapNaviCompositeManager *_Nonnull)compositeManager;
193
202- (void)compositeManager:(AMapNaviCompositeManager *_Nonnull)compositeManager updateNaviLocation:(AMapNaviLocation *_Nullable)naviLocation;
203
212- (void)compositeManager:(AMapNaviCompositeManager *_Nonnull)compositeManager didChangeDayNightType:(BOOL)showStandardNightType;
213
222- (void)compositeManager:(AMapNaviCompositeManager *_Nonnull)compositeManager didArrivedDestination:(AMapNaviMode)naviMode;
223
232- (void)compositeManager:(AMapNaviCompositeManager *_Nonnull)compositeManager didBackwardAction:(AMapNaviCompositeVCBackwardActionType)backwardActionType;
233
242- (void)compositeManager:(AMapNaviCompositeManager *_Nonnull)compositeManager onDriveStrategyChanged:(AMapNaviDrivingStrategy)driveStrategy;
243
252- (void)compositeManager:(AMapNaviCompositeManager *_Nonnull)compositeManager onArrivedWayPoint:(int)wayPointIndex;
253
260- (void)compositeManagerDidChangeMapViewModeType:(AMapNaviViewMapModeType)type;
261
268- (void)compositeManagerDidChangeBroadcastType:(AMapNaviCompositeBroadcastType)type;
269
276- (void)compositeManagerDidChangeTrackingMode:(AMapNaviViewTrackingMode)mode;
277
284- (void)compositeManagerDidChangeAutoZoomMapLevel:(BOOL)autoZoomMapLevel;
285
295- (void)compositeManager:(AMapNaviCompositeManager *_Nonnull)compositeManager updateRemainServiceAreaDetailInfos:(nullable NSArray<AMapNaviServiceAreaDetailInfo *> *)remainServiceAreaDetails;
296
297@end
298
AMapNaviCommonObj.h
AMapNaviCompositeVCBackwardActionType
AMapNaviCompositeVCBackwardActionType
Definition AMapNaviCommonObj.h:361
AMapNaviRoutePlanType
AMapNaviRoutePlanType
Definition AMapNaviCommonObj.h:369
AMapNaviViewTrackingMode
AMapNaviViewTrackingMode
Definition AMapNaviCommonObj.h:47
AMapNaviViewMapModeType
AMapNaviViewMapModeType
Definition AMapNaviCommonObj.h:472
AMapNaviMode
AMapNaviMode
Definition AMapNaviCommonObj.h:38
AMapNaviDrivingStrategy
AMapNaviDrivingStrategy
Definition AMapNaviCommonObj.h:72
AMapNaviSoundType
AMapNaviSoundType
Definition AMapNaviCommonObj.h:201
AMapNaviCompositeCustomAnnotation
导航界面自定义标注 Custom annotations in the navigation interface since 5.5.0
Definition AMapNaviCompositeAnnotation.h:31
AMapNaviCompositeManager
Definition AMapNaviCompositeManager.h:24
AMapNaviCompositeManager::naviRoutes
NSDictionary< NSNumber *, AMapNaviRoute * > * naviRoutes
Definition AMapNaviCompositeManager.h:43
AMapNaviCompositeManager::naviRouteIDs
NSArray< NSNumber * > * naviRouteIDs
Definition AMapNaviCompositeManager.h:39
AMapNaviCompositeManager::delegate
id< AMapNaviCompositeManagerDelegate > delegate
Definition AMapNaviCompositeManager.h:27
AMapNaviCompositeManager::naviRouteID
NSInteger naviRouteID
Definition AMapNaviCompositeManager.h:31
AMapNaviCompositeManager::naviRoute
AMapNaviRoute * naviRoute
Definition AMapNaviCompositeManager.h:35
AMapNaviCompositeUserConfig
导航组件的配置类 Configuration class of the navigation component. since 5.2.0
Definition AMapNaviCompositeUserConfig.h:23
AMapNaviCustomAnnotation
Definition AMapNaviCompositeAnnotation.h:87
AMapNaviLocation
Definition AMapNaviLocation.h:13
AMapNaviRoute
Definition AMapNaviRoute.h:186
AMapNaviServiceAreaDetailInfo
Definition AMapNaviCommonObj.h:1793
© 2017 高德信息技术有限公司 版权所有，保留所有权利。