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;
153- (void)setCustomMapStyleOptions:(
MAMapCustomStyleOptions *)styleOptions __attribute((deprecated("Custom View no longer supports custom map style. Since 11.1.000")));
157@property (nonatomic, assign) BOOL autoSwitchDayNightType
__attribute((deprecated(
"Deprecated, please use mapViewModeType instead. since 6.7.0")));
161@property (nonatomic, assign) BOOL showStandardNightType
__attribute((deprecated(
"Deprecated, please use mapViewModeType instead. since 6.7.0")));
163#pragma mark - Annoation Options and Overlay Options
167@property (nonatomic, assign) BOOL showTrafficLayer
__attribute((deprecated(
"Deprecated, Please use mapShowTraffic combined with -statusTextures: replace. since 7.4.0")));
235@property (nonatomic, copy) NSArray<AMapNaviPolylineTrafficStatusColor *> *
routeStatusColor;
273- (void)setCameraImage:(nullable UIImage *)cameraImage;
285- (void)setStartPointImage:(nullable UIImage *)startPointImage;
296- (void)setWayPointImage:(nullable UIImage *)wayPointImage;
308- (void)setEndPointImage:(nullable UIImage *)endPointImage;
320- (void)setCarImage:(nullable UIImage *)carImage;
329- (void)setCarImageWithSize:(nullable UIImage *)carImage;
341- (void)setCarCompassImage:(nullable UIImage *)carCompassImage;
407- (void)addCustomOverlay:(
id <AMapNaviCompositeOverlay>_Nonnull)overlay;
417- (void)removeCustomOverlay:(
id <AMapNaviCompositeOverlay>_Nonnull)overlay;
419#pragma mark - UI Element Options
455@property (nonatomic, copy) NSArray<AMapNaviTMCStatusColor *> *
tmcRouteColor;
493@protocol AMapNaviDriveViewDelegate <NSObject>
558- (void)driveView:(
AMapNaviDriveView *)driveView didChangeOrientation:(BOOL)isLandscape;
568- (void)driveView:(
AMapNaviDriveView *)driveView didChangeDayNightType:(BOOL)showStandardNightType;
608- (void)driveView:(
AMapNaviDriveView *)driveView didChangeBroadcastType:(AMapNaviCompositeBroadcastType)type;
618- (void)driveView:(
AMapNaviDriveView *)driveView didChangeAutoZoomMapLevel:(BOOL)autoZoomMapLevel;
638- (void)driveView:(
AMapNaviDriveView *)driveView didChangeShowEagleMap:(BOOL)show;
657- (void)driveView:(
AMapNaviDriveView *)driveView asyncScreenShot:(UIImage *)image state:(NSInteger)state;
692- (void)driveView:(
AMapNaviDriveView *)driveView onRouteHighlightChange:(NSInteger)pathId triggerType:(NSInteger)triggerType;
696#pragma mark - AMapNaviDriveViewResProxyDelegate
697@protocol AMapNaviDriveViewResProxyDelegate <NSObject>
709- (UIImage *)getResourceFromExternal:(NSString *)resUrl;
AMapNaviViewTrackingMode
Definition AMapNaviCommonObj.h:47
AMapNaviViewMapModeType
Definition AMapNaviCommonObj.h:474
AMapNaviDrivingStrategy
Definition AMapNaviCommonObj.h:72
AMapNaviDriveViewShowMode
Definition AMapNaviCommonObj.h:55
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:141
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:195
BOOL showTrafficButton
Definition AMapNaviDriveView.h:431
CGPoint logoCenter
Definition AMapNaviDriveView.h:79
BOOL autoZoomMapLevel
Definition AMapNaviDriveView.h:129
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:227
CGPoint scaleOrigin
Definition AMapNaviDriveView.h:105
BOOL showEagleMap
Definition AMapNaviDriveView.h:239
AMapNaviViewTrackingMode trackingMode
Definition AMapNaviDriveView.h:66
AMapNaviDriveViewShowMode showMode
Definition AMapNaviDriveView.h:72
BOOL showGreyAfterPass
Definition AMapNaviDriveView.h:215
NSArray< AMapNaviPolylineTrafficStatusColor * > * routeStatusColor
Definition AMapNaviDriveView.h:235
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:203
CGRect tmcRouteFrame
Definition AMapNaviDriveView.h:451
BOOL showOverSpeedPulse
Definition AMapNaviDriveView.h:247
BOOL autoSwitchShowModeToCarPositionLocked
Definition AMapNaviDriveView.h:475
BOOL showBackupRoute
Definition AMapNaviDriveView.h:211
id< AMapNaviDriveViewDelegate > delegate
Definition AMapNaviDriveView.h:35
BOOL showMoreButton
Definition AMapNaviDriveView.h:447
BOOL showBrowseRouteButton
Definition AMapNaviDriveView.h:443
MACustomCalloutView * customCalloutView
Definition AMapNaviDriveView.h:223
BOOL showCrossImage
Definition AMapNaviDriveView.h:427
BOOL showRoute
Definition AMapNaviDriveView.h:207
NSArray< AMapNaviTMCStatusColor * > * tmcRouteColor
Definition AMapNaviDriveView.h:455
CGFloat cameraDegree
Definition AMapNaviDriveView.h:133
BOOL showRefreshButton
Definition AMapNaviDriveView.h:463
AMapNaviPolylineGreyColor * routeGreyColor
Definition AMapNaviDriveView.h:231
BOOL autoSwitchDayNightType __attribute((deprecated("Deprecated, please use mapViewModeType instead. since 6.7.0")))
CGFloat mapZoomLevel
Definition AMapNaviDriveView.h:125
BOOL showUIElements
Definition AMapNaviDriveView.h:423
BOOL showDriveCongestion
Definition AMapNaviDriveView.h:251
BOOL showTrafficLightView
Definition AMapNaviDriveView.h:261
CGPoint compassOrigin
Definition AMapNaviDriveView.h:113
BOOL showTrafficLights
Definition AMapNaviDriveView.h:199
BOOL showScale
Definition AMapNaviDriveView.h:101
CGFloat lineWidth
Definition AMapNaviDriveView.h:219
BOOL isLandscape
Definition AMapNaviDriveView.h:469
BOOL onlyForGuide
Definition AMapNaviDriveView.h:264
BOOL turnArrowIs3D
Definition AMapNaviDriveView.h:187
UIColor * turnArrowColor
Definition AMapNaviDriveView.h:179
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:145
BOOL showWholeTravel
Definition AMapNaviDriveView.h:439
BOOL showTurnArrow
Definition AMapNaviDriveView.h:175
CGPoint screenAnchor
Definition AMapNaviDriveView.h:137
CGFloat turnArrowWidth
Definition AMapNaviDriveView.h:183
id< AMapNaviDriveViewResProxyDelegate > resProxydelegate
Definition AMapNaviDriveView.h:51
BOOL showCompass
Definition AMapNaviDriveView.h:109
BOOL showTrafficBar
Definition AMapNaviDriveView.h:435
UIColor * turnArrowSideColor
Definition AMapNaviDriveView.h:191
BOOL showCameraDistance
Definition AMapNaviDriveView.h:243
BOOL showCamera
Definition AMapNaviDriveView.h:171
BOOL showDriveGuideNaviAnimation
Definition AMapNaviDriveView.h:459
Definition AMapNaviCommonObj.h:1509
Definition AMapNaviCommonObj.h:1834
Definition MACustomCalloutView.h:15
Definition MAMapCustomStyleOptions.h:12
AMapNaviDriveDataRepresentable协议.实例对象可以通过实现该协议,并将其通过 AMapNaviDriveManager 的addDataRepresentative:方法进行...
Definition AMapNaviDriveDataRepresentable.h:27