15 NS_ASSUME_NONNULL_BEGIN
31 #pragma mark - Delegate
35 @property (nonatomic, weak) id<AMapNaviDriveViewDelegate>
delegate;
43 @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")));;
45 #pragma mark - Mode Options
63 #pragma mark - Map Options
71 @property (nonatomic, assign, readonly) CGSize
logoSize;
127 - (void)setCustomMapStyleOptions:(
MAMapCustomStyleOptions *)styleOptions __attribute((deprecated("Custom View no longer supports custom map style. Since 11.1.000")));
131 @property (nonatomic, assign) BOOL autoSwitchDayNightType
__attribute((deprecated(
"Deprecated, please use mapViewModeType instead. since 6.7.0")));
135 @property (nonatomic, assign) BOOL showStandardNightType
__attribute((deprecated(
"Deprecated, please use mapViewModeType instead. since 6.7.0")));
137 #pragma mark - Annoation Options and Overlay Options
141 @property (nonatomic, assign) BOOL showTrafficLayer
__attribute((deprecated(
"Deprecated, Please use mapShowTraffic combined with -statusTextures: replace. since 7.4.0")));
209 @property (nonatomic, copy) NSArray<AMapNaviPolylineTrafficStatusColor *> *
routeStatusColor;
244 - (void)setCameraImage:(nullable UIImage *)cameraImage;
256 - (void)setStartPointImage:(nullable UIImage *)startPointImage;
267 - (void)setWayPointImage:(nullable UIImage *)wayPointImage;
279 - (void)setEndPointImage:(nullable UIImage *)endPointImage;
291 - (void)setCarImage:(nullable UIImage *)carImage;
300 - (void)setCarImageWithSize:(nullable UIImage *)carImage;
312 - (void)setCarCompassImage:(nullable UIImage *)carCompassImage;
390 #pragma mark - UI Element Options
422 @property (nonatomic, copy) NSArray<AMapNaviTMCStatusColor *> *
tmcRouteColor;
521 - (void)driveView:(
AMapNaviDriveView *)driveView didChangeOrientation:(BOOL)isLandscape;
531 - (void)driveView:(
AMapNaviDriveView *)driveView didChangeDayNightType:(BOOL)showStandardNightType;
571 - (void)driveView:(
AMapNaviDriveView *)driveView didChangeBroadcastType:(AMapNaviCompositeBroadcastType)type;
581 - (void)driveView:(
AMapNaviDriveView *)driveView didChangeAutoZoomMapLevel:(BOOL)autoZoomMapLevel;
601 - (void)driveView:(
AMapNaviDriveView *)driveView didChangeShowEagleMap:(BOOL)show;
620 - (void)driveView:(
AMapNaviDriveView *)driveView asyncScreenShot:(UIImage *)image state:(NSInteger)state;
655 - (void)driveView:(
AMapNaviDriveView *)driveView onRouteHighlightChange:(NSInteger)pathId triggerType:(NSInteger)triggerType;
659 #pragma mark - AMapNaviDriveViewResProxyDelegate
672 - (UIImage *)getResourceFromExternal:(NSString *)resUrl;
676 NS_ASSUME_NONNULL_END
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
导航界面自定义标注 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:115
BOOL showVectorline
Definition: AMapNaviDriveView.h:169
BOOL showTrafficButton
Definition: AMapNaviDriveView.h:402
CGPoint logoCenter
Definition: AMapNaviDriveView.h:67
BOOL autoZoomMapLevel
Definition: AMapNaviDriveView.h:103
void updateRoutePolylineInTheVisualRangeWhenTheShowModeIsOverview()
在全览状态下调用此函数能够让路线显示在可视区域内(排除EdgePadding后剩余的区域),保证路线不被自定义界面元素遮挡. 比如showUIElements为NO时(自定义界面)横竖屏切换后,可以调用...
CGSize compassSize
Definition: AMapNaviDriveView.h:91
BOOL goBackToPlanState()
回到行前状态,只有用户初始状态是行前时,且当前是行中时返回YES,其它状态返回NO Return to the pre line state, only when the user's initial ...
UIColor * dashedLineColor
Definition: AMapNaviDriveView.h:201
CGPoint scaleOrigin
Definition: AMapNaviDriveView.h:79
BOOL showEagleMap
Definition: AMapNaviDriveView.h:213
AMapNaviViewTrackingMode trackingMode
Definition: AMapNaviDriveView.h:54
AMapNaviDriveViewShowMode showMode
Definition: AMapNaviDriveView.h:60
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")))
BOOL showGreyAfterPass
Definition: AMapNaviDriveView.h:189
NSArray< AMapNaviPolylineTrafficStatusColor * > * routeStatusColor
Definition: AMapNaviDriveView.h:209
BOOL canChangeTrackingMode
Definition: AMapNaviDriveView.h:43
BOOL showTrafficLayer __attribute((deprecated("Deprecated, Please use mapShowTraffic combined with -statusTextures: replace. since 7.4.0")))
BOOL mapShowTraffic
Definition: AMapNaviDriveView.h:95
BOOL showCar
Definition: AMapNaviDriveView.h:177
CGRect tmcRouteFrame
Definition: AMapNaviDriveView.h:418
BOOL showOverSpeedPulse
Definition: AMapNaviDriveView.h:221
BOOL autoSwitchShowModeToCarPositionLocked
Definition: AMapNaviDriveView.h:438
BOOL showBackupRoute
Definition: AMapNaviDriveView.h:185
id< AMapNaviDriveViewDelegate > delegate
Definition: AMapNaviDriveView.h:35
BOOL showMoreButton
Definition: AMapNaviDriveView.h:414
BOOL showBrowseRouteButton
Definition: AMapNaviDriveView.h:410
MACustomCalloutView * customCalloutView
Definition: AMapNaviDriveView.h:197
BOOL showCrossImage
Definition: AMapNaviDriveView.h:398
BOOL showRoute
Definition: AMapNaviDriveView.h:181
NSArray< AMapNaviTMCStatusColor * > * tmcRouteColor
Definition: AMapNaviDriveView.h:422
CGFloat cameraDegree
Definition: AMapNaviDriveView.h:107
AMapNaviPolylineGreyColor * routeGreyColor
Definition: AMapNaviDriveView.h:205
BOOL autoSwitchDayNightType __attribute((deprecated("Deprecated, please use mapViewModeType instead. since 6.7.0")))
CGFloat mapZoomLevel
Definition: AMapNaviDriveView.h:99
BOOL showUIElements
Definition: AMapNaviDriveView.h:394
BOOL showDriveCongestion
Definition: AMapNaviDriveView.h:225
BOOL showTrafficLightView
Definition: AMapNaviDriveView.h:235
CGPoint compassOrigin
Definition: AMapNaviDriveView.h:87
BOOL showTrafficLights
Definition: AMapNaviDriveView.h:173
BOOL showScale
Definition: AMapNaviDriveView.h:75
CGFloat lineWidth
Definition: AMapNaviDriveView.h:193
BOOL isLandscape
Definition: AMapNaviDriveView.h:432
BOOL turnArrowIs3D
Definition: AMapNaviDriveView.h:161
UIColor * turnArrowColor
Definition: AMapNaviDriveView.h:153
BOOL showStandardNightType __attribute((deprecated("Deprecated, please use mapViewModeType instead. since 6.7.0")))
CGSize logoSize
Definition: AMapNaviDriveView.h:71
AMapNaviViewMapModeType mapViewModeType
Definition: AMapNaviDriveView.h:119
BOOL showTurnArrow
Definition: AMapNaviDriveView.h:149
CGPoint screenAnchor
Definition: AMapNaviDriveView.h:111
CGFloat turnArrowWidth
Definition: AMapNaviDriveView.h:157
id< AMapNaviDriveViewResProxyDelegate > resProxydelegate
Definition: AMapNaviDriveView.h:39
BOOL showCompass
Definition: AMapNaviDriveView.h:83
BOOL showTrafficBar
Definition: AMapNaviDriveView.h:406
UIColor * turnArrowSideColor
Definition: AMapNaviDriveView.h:165
BOOL showCameraDistance
Definition: AMapNaviDriveView.h:217
BOOL showCamera
Definition: AMapNaviDriveView.h:145
BOOL showDriveGuideNaviAnimation
Definition: AMapNaviDriveView.h:426
Definition: AMapNaviCommonObj.h:1483
Definition: AMapNaviCommonObj.h:1738
Definition: MACustomCalloutView.h:15
Definition: MAMapCustomStyleOptions.h:12
Definition: AMapNaviCompositeAnnotation.h:14
AMapNaviDriveDataRepresentable协议.实例对象可以通过实现该协议,并将其通过 AMapNaviDriveManager 的addDataRepresentative:方法进行...
Definition: AMapNaviDriveDataRepresentable.h:27
Definition: AMapNaviDriveView.h:456
Definition: AMapNaviDriveView.h:660