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;
149- (void)setCustomMapStyleOptions:(
MAMapCustomStyleOptions *)styleOptions __attribute((deprecated("Custom View no longer supports custom map style. Since 11.1.000")));
153@property (nonatomic, assign) BOOL autoSwitchDayNightType
__attribute((deprecated(
"Deprecated, please use mapViewModeType instead. since 6.7.0")));
157@property (nonatomic, assign) BOOL showStandardNightType
__attribute((deprecated(
"Deprecated, please use mapViewModeType instead. since 6.7.0")));
159#pragma mark - Annoation Options and Overlay Options
163@property (nonatomic, assign) BOOL showTrafficLayer
__attribute((deprecated(
"Deprecated, Please use mapShowTraffic combined with -statusTextures: replace. since 7.4.0")));
231@property (nonatomic, copy) NSArray<AMapNaviPolylineTrafficStatusColor *> *
routeStatusColor;
269- (void)setCameraImage:(nullable UIImage *)cameraImage;
281- (void)setStartPointImage:(nullable UIImage *)startPointImage;
292- (void)setWayPointImage:(nullable UIImage *)wayPointImage;
304- (void)setEndPointImage:(nullable UIImage *)endPointImage;
316- (void)setCarImage:(nullable UIImage *)carImage;
325- (void)setCarImageWithSize:(nullable UIImage *)carImage;
337- (void)setCarCompassImage:(nullable UIImage *)carCompassImage;
403- (void)addCustomOverlay:(
id <AMapNaviCompositeOverlay>_Nonnull)overlay;
413- (void)removeCustomOverlay:(
id <AMapNaviCompositeOverlay>_Nonnull)overlay;
415#pragma mark - UI Element Options
447@property (nonatomic, copy) NSArray<AMapNaviTMCStatusColor *> *
tmcRouteColor;
485@protocol AMapNaviDriveViewDelegate <NSObject>
550- (void)driveView:(
AMapNaviDriveView *)driveView didChangeOrientation:(BOOL)isLandscape;
560- (void)driveView:(
AMapNaviDriveView *)driveView didChangeDayNightType:(BOOL)showStandardNightType;
600- (void)driveView:(
AMapNaviDriveView *)driveView didChangeBroadcastType:(AMapNaviCompositeBroadcastType)type;
610- (void)driveView:(
AMapNaviDriveView *)driveView didChangeAutoZoomMapLevel:(BOOL)autoZoomMapLevel;
630- (void)driveView:(
AMapNaviDriveView *)driveView didChangeShowEagleMap:(BOOL)show;
649- (void)driveView:(
AMapNaviDriveView *)driveView asyncScreenShot:(UIImage *)image state:(NSInteger)state;
684- (void)driveView:(
AMapNaviDriveView *)driveView onRouteHighlightChange:(NSInteger)pathId triggerType:(NSInteger)triggerType;
688#pragma mark - AMapNaviDriveViewResProxyDelegate
689@protocol AMapNaviDriveViewResProxyDelegate <NSObject>
701- (UIImage *)getResourceFromExternal:(NSString *)resUrl;
AMapNaviViewTrackingMode
Definition AMapNaviCommonObj.h:47
AMapNaviViewMapModeType
Definition AMapNaviCommonObj.h:472
AMapNaviDrivingStrategy
Definition AMapNaviCommonObj.h:72
AMapNaviDriveViewShowMode
Definition AMapNaviCommonObj.h:55
AMapNaviDriveViewState
Definition AMapNaviDriveViewConfig.h:16
MALogoLanguage
Definition MAMapView.h:64
导航界面自定义标注 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:137
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:93
BOOL showVectorline
Definition AMapNaviDriveView.h:191
BOOL showTrafficButton
Definition AMapNaviDriveView.h:427
CGPoint logoCenter
Definition AMapNaviDriveView.h:79
BOOL autoZoomMapLevel
Definition AMapNaviDriveView.h:125
void updateRoutePolylineInTheVisualRangeWhenTheShowModeIsOverview()
在全览状态下调用此函数能够让路线显示在可视区域内(排除EdgePadding后剩余的区域),保证路线不被自定义界面元素遮挡. 比如showUIElements为NO时(自定义界面)横竖屏切换后,可以调用...
CGSize compassSize
Definition AMapNaviDriveView.h:113
BOOL goBackToPlanState()
回到行前状态,只有用户初始状态是行前时,且当前是行中时返回YES,其它状态返回NO Return to the pre line state, only when the user's initial ...
UIColor * dashedLineColor
Definition AMapNaviDriveView.h:223
CGPoint scaleOrigin
Definition AMapNaviDriveView.h:101
BOOL showEagleMap
Definition AMapNaviDriveView.h:235
AMapNaviViewTrackingMode trackingMode
Definition AMapNaviDriveView.h:66
AMapNaviDriveViewShowMode showMode
Definition AMapNaviDriveView.h:72
BOOL showGreyAfterPass
Definition AMapNaviDriveView.h:211
NSArray< AMapNaviPolylineTrafficStatusColor * > * routeStatusColor
Definition AMapNaviDriveView.h:231
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:117
BOOL showCar
Definition AMapNaviDriveView.h:199
CGRect tmcRouteFrame
Definition AMapNaviDriveView.h:443
BOOL showOverSpeedPulse
Definition AMapNaviDriveView.h:243
BOOL autoSwitchShowModeToCarPositionLocked
Definition AMapNaviDriveView.h:467
BOOL showBackupRoute
Definition AMapNaviDriveView.h:207
id< AMapNaviDriveViewDelegate > delegate
Definition AMapNaviDriveView.h:35
BOOL showMoreButton
Definition AMapNaviDriveView.h:439
BOOL showBrowseRouteButton
Definition AMapNaviDriveView.h:435
MACustomCalloutView * customCalloutView
Definition AMapNaviDriveView.h:219
BOOL showCrossImage
Definition AMapNaviDriveView.h:423
BOOL showRoute
Definition AMapNaviDriveView.h:203
NSArray< AMapNaviTMCStatusColor * > * tmcRouteColor
Definition AMapNaviDriveView.h:447
CGFloat cameraDegree
Definition AMapNaviDriveView.h:129
BOOL showRefreshButton
Definition AMapNaviDriveView.h:455
AMapNaviPolylineGreyColor * routeGreyColor
Definition AMapNaviDriveView.h:227
BOOL autoSwitchDayNightType __attribute((deprecated("Deprecated, please use mapViewModeType instead. since 6.7.0")))
CGFloat mapZoomLevel
Definition AMapNaviDriveView.h:121
BOOL showUIElements
Definition AMapNaviDriveView.h:419
BOOL showDriveCongestion
Definition AMapNaviDriveView.h:247
BOOL showTrafficLightView
Definition AMapNaviDriveView.h:257
CGPoint compassOrigin
Definition AMapNaviDriveView.h:109
BOOL showTrafficLights
Definition AMapNaviDriveView.h:195
BOOL showScale
Definition AMapNaviDriveView.h:97
CGFloat lineWidth
Definition AMapNaviDriveView.h:215
BOOL isLandscape
Definition AMapNaviDriveView.h:461
BOOL onlyForGuide
Definition AMapNaviDriveView.h:260
BOOL turnArrowIs3D
Definition AMapNaviDriveView.h:183
UIColor * turnArrowColor
Definition AMapNaviDriveView.h:175
BOOL logoEnable
Definition AMapNaviDriveView.h:87
BOOL showStandardNightType __attribute((deprecated("Deprecated, please use mapViewModeType instead. since 6.7.0")))
CGSize logoSize
Definition AMapNaviDriveView.h:83
AMapNaviViewMapModeType mapViewModeType
Definition AMapNaviDriveView.h:141
BOOL showTurnArrow
Definition AMapNaviDriveView.h:171
CGPoint screenAnchor
Definition AMapNaviDriveView.h:133
CGFloat turnArrowWidth
Definition AMapNaviDriveView.h:179
id< AMapNaviDriveViewResProxyDelegate > resProxydelegate
Definition AMapNaviDriveView.h:51
BOOL showCompass
Definition AMapNaviDriveView.h:105
BOOL showTrafficBar
Definition AMapNaviDriveView.h:431
UIColor * turnArrowSideColor
Definition AMapNaviDriveView.h:187
BOOL showCameraDistance
Definition AMapNaviDriveView.h:239
BOOL showCamera
Definition AMapNaviDriveView.h:167
BOOL showDriveGuideNaviAnimation
Definition AMapNaviDriveView.h:451
Definition AMapNaviCommonObj.h:1507
Definition AMapNaviCommonObj.h:1762
Definition MACustomCalloutView.h:15
Definition MAMapCustomStyleOptions.h:12
AMapNaviDriveDataRepresentable协议.实例对象可以通过实现该协议,并将其通过 AMapNaviDriveManager 的addDataRepresentative:方法进行...
Definition AMapNaviDriveDataRepresentable.h:27