15NS_ASSUME_NONNULL_BEGIN
17@protocol AMapNaviDriveViewDelegate;
18@protocol AMapNaviDriveViewResProxyDelegate;
31#pragma mark - Delegate
35@property (nonatomic, weak) id<AMapNaviDriveViewDelegate>
delegate;
41- (void)addEventListener:(
id<AMapNaviDriveViewDelegate>)aListener;
47- (void)removeEventListener:(
id<AMapNaviDriveViewDelegate>)aListener;
55@property (nonatomic, weak) id <MAMapViewDelegate> mapViewDelegate
__attribute((deprecated(
"It is recommended to use the addAnnotaion/addCustomOverlay methods in AMapNaviDriveView for map custom annotations since version 10.0.920")));;
57#pragma mark - Mode Options
75#pragma mark - Map Options
83@property (nonatomic, assign, readonly) CGSize
logoSize;
155- (void)setCustomMapStyleOptions:(
MAMapCustomStyleOptions *)styleOptions __attribute((deprecated("Custom View no longer supports custom map style. Since 11.1.000")));
159@property (nonatomic, assign) BOOL autoSwitchDayNightType
__attribute((deprecated(
"Deprecated, please use mapViewModeType instead. since 6.7.0")));
163@property (nonatomic, assign) BOOL showStandardNightType
__attribute((deprecated(
"Deprecated, please use mapViewModeType instead. since 6.7.0")));
165#pragma mark - Annoation Options and Overlay Options
169@property (nonatomic, assign) BOOL showTrafficLayer
__attribute((deprecated(
"Deprecated, Please use mapShowTraffic combined with -statusTextures: replace. since 7.4.0")));
237@property (nonatomic, copy) NSArray<AMapNaviPolylineTrafficStatusColor *> *
routeStatusColor;
275- (void)setCameraImage:(nullable UIImage *)cameraImage;
287- (void)setStartPointImage:(nullable UIImage *)startPointImage;
298- (void)setWayPointImage:(nullable UIImage *)wayPointImage;
310- (void)setEndPointImage:(nullable UIImage *)endPointImage;
322- (void)setCarImage:(nullable UIImage *)carImage;
331- (void)setCarImageWithSize:(nullable UIImage *)carImage;
343- (void)setCarCompassImage:(nullable UIImage *)carCompassImage;
409- (void)addCustomOverlay:(
id <AMapNaviCompositeOverlay>_Nonnull)overlay;
419- (void)removeCustomOverlay:(
id <AMapNaviCompositeOverlay>_Nonnull)overlay;
421#pragma mark - UI Element Options
457@property (nonatomic, copy) NSArray<AMapNaviTMCStatusColor *> *
tmcRouteColor;
495@protocol AMapNaviDriveViewDelegate <NSObject>
560- (void)driveView:(
AMapNaviDriveView *)driveView didChangeOrientation:(BOOL)isLandscape;
570- (void)driveView:(
AMapNaviDriveView *)driveView didChangeDayNightType:(BOOL)showStandardNightType;
610- (void)driveView:(
AMapNaviDriveView *)driveView didChangeBroadcastType:(AMapNaviCompositeBroadcastType)type;
620- (void)driveView:(
AMapNaviDriveView *)driveView didChangeAutoZoomMapLevel:(BOOL)autoZoomMapLevel;
640- (void)driveView:(
AMapNaviDriveView *)driveView didChangeShowEagleMap:(BOOL)show;
659- (void)driveView:(
AMapNaviDriveView *)driveView asyncScreenShot:(UIImage *)image state:(NSInteger)state;
694- (void)driveView:(
AMapNaviDriveView *)driveView onRouteHighlightChange:(NSInteger)pathId triggerType:(NSInteger)triggerType;
698#pragma mark - AMapNaviDriveViewResProxyDelegate
699@protocol AMapNaviDriveViewResProxyDelegate <NSObject>
711- (UIImage *)getResourceFromExternal:(NSString *)resUrl;
AMapNaviViewTrackingMode
Definition AMapNaviCommonObj.h:57
AMapNaviViewMapModeType
Definition AMapNaviCommonObj.h:490
AMapNaviDrivingStrategy
Definition AMapNaviCommonObj.h:82
AMapNaviDriveViewShowMode
Definition AMapNaviCommonObj.h:65
AMapNaviDriveViewState
Definition AMapNaviDriveViewConfig.h:16
MALogoLanguage
Definition MAMapView.h:66
导航界面自定义标注 Custom annotations in the navigation interface since 5.5.0
Definition AMapNaviCompositeAnnotation.h:31
Definition AMapNaviCompositeAnnotation.h:87
Definition AMapNaviDriveViewConfig.h:25
Definition AMapNaviDriveView.h:22
NSUInteger maxRenderFrame
Definition AMapNaviDriveView.h:143
id< MAMapViewDelegate > mapViewDelegate __attribute((deprecated("It is recommended to use the addAnnotaion/addCustomOverlay methods in AMapNaviDriveView for map custom annotations since version 10.0.920")))
MALogoLanguage logoLanguage
Definition AMapNaviDriveView.h:97
BOOL showVectorline
Definition AMapNaviDriveView.h:197
BOOL showTrafficButton
Definition AMapNaviDriveView.h:433
CGPoint logoCenter
Definition AMapNaviDriveView.h:79
BOOL autoZoomMapLevel
Definition AMapNaviDriveView.h:131
void updateRoutePolylineInTheVisualRangeWhenTheShowModeIsOverview()
在全览状态下调用此函数能够让路线显示在可视区域内(排除EdgePadding后剩余的区域),保证路线不被自定义界面元素遮挡. 比如showUIElements为NO时(自定义界面)横竖屏切换后,可以调用...
CGSize compassSize
Definition AMapNaviDriveView.h:117
BOOL goBackToPlanState()
回到行前状态,只有用户初始状态是行前时,且当前是行中时返回YES,其它状态返回NO Return to the pre line state, only when the user's initial ...
UIColor * dashedLineColor
Definition AMapNaviDriveView.h:229
CGPoint scaleOrigin
Definition AMapNaviDriveView.h:105
BOOL showEagleMap
Definition AMapNaviDriveView.h:241
AMapNaviViewTrackingMode trackingMode
Definition AMapNaviDriveView.h:66
AMapNaviDriveViewShowMode showMode
Definition AMapNaviDriveView.h:72
BOOL showGreyAfterPass
Definition AMapNaviDriveView.h:217
NSArray< AMapNaviPolylineTrafficStatusColor * > * routeStatusColor
Definition AMapNaviDriveView.h:237
CGFloat logoSizeScale
Definition AMapNaviDriveView.h:87
BOOL canChangeTrackingMode
Definition AMapNaviDriveView.h:61
BOOL showTrafficLayer __attribute((deprecated("Deprecated, Please use mapShowTraffic combined with -statusTextures: replace. since 7.4.0")))
BOOL mapShowTraffic
Definition AMapNaviDriveView.h:121
BOOL showCar
Definition AMapNaviDriveView.h:205
CGRect tmcRouteFrame
Definition AMapNaviDriveView.h:453
BOOL showOverSpeedPulse
Definition AMapNaviDriveView.h:249
BOOL autoSwitchShowModeToCarPositionLocked
Definition AMapNaviDriveView.h:477
BOOL showBackupRoute
Definition AMapNaviDriveView.h:213
id< AMapNaviDriveViewDelegate > delegate
Definition AMapNaviDriveView.h:35
BOOL showMoreButton
Definition AMapNaviDriveView.h:449
BOOL showBrowseRouteButton
Definition AMapNaviDriveView.h:445
MACustomCalloutView * customCalloutView
Definition AMapNaviDriveView.h:225
BOOL showCrossImage
Definition AMapNaviDriveView.h:429
BOOL showRoute
Definition AMapNaviDriveView.h:209
NSArray< AMapNaviTMCStatusColor * > * tmcRouteColor
Definition AMapNaviDriveView.h:457
CGFloat cameraDegree
Definition AMapNaviDriveView.h:135
BOOL showRefreshButton
Definition AMapNaviDriveView.h:465
AMapNaviPolylineGreyColor * routeGreyColor
Definition AMapNaviDriveView.h:233
BOOL autoSwitchDayNightType __attribute((deprecated("Deprecated, please use mapViewModeType instead. since 6.7.0")))
CGFloat mapZoomLevel
Definition AMapNaviDriveView.h:125
BOOL showUIElements
Definition AMapNaviDriveView.h:425
BOOL showDriveCongestion
Definition AMapNaviDriveView.h:253
BOOL showTrafficLightView
Definition AMapNaviDriveView.h:263
CGPoint compassOrigin
Definition AMapNaviDriveView.h:113
BOOL showTrafficLights
Definition AMapNaviDriveView.h:201
BOOL showScale
Definition AMapNaviDriveView.h:101
CGFloat lineWidth
Definition AMapNaviDriveView.h:221
BOOL isLandscape
Definition AMapNaviDriveView.h:471
BOOL onlyForGuide
Definition AMapNaviDriveView.h:266
BOOL turnArrowIs3D
Definition AMapNaviDriveView.h:189
UIColor * turnArrowColor
Definition AMapNaviDriveView.h:181
BOOL logoEnable
Definition AMapNaviDriveView.h:91
BOOL showStandardNightType __attribute((deprecated("Deprecated, please use mapViewModeType instead. since 6.7.0")))
CGSize logoSize
Definition AMapNaviDriveView.h:83
AMapNaviViewMapModeType mapViewModeType
Definition AMapNaviDriveView.h:147
BOOL showWholeTravel
Definition AMapNaviDriveView.h:441
BOOL showTurnArrow
Definition AMapNaviDriveView.h:177
CGPoint screenAnchor
Definition AMapNaviDriveView.h:139
CGFloat turnArrowWidth
Definition AMapNaviDriveView.h:185
id< AMapNaviDriveViewResProxyDelegate > resProxydelegate
Definition AMapNaviDriveView.h:51
BOOL showCompass
Definition AMapNaviDriveView.h:109
BOOL showTrafficBar
Definition AMapNaviDriveView.h:437
UIColor * turnArrowSideColor
Definition AMapNaviDriveView.h:193
BOOL showCameraDistance
Definition AMapNaviDriveView.h:245
BOOL showCamera
Definition AMapNaviDriveView.h:173
BOOL showDriveGuideNaviAnimation
Definition AMapNaviDriveView.h:461
Definition AMapNaviCommonObj.h:1525
Definition AMapNaviCommonObj.h:1850
Definition MACustomCalloutView.h:15
Definition MAMapCustomStyleOptions.h:12
AMapNaviDriveDataRepresentable协议.实例对象可以通过实现该协议,并将其通过 AMapNaviDriveManager 的addDataRepresentative:方法进行...
Definition AMapNaviDriveDataRepresentable.h:27