15NS_ASSUME_NONNULL_BEGIN
25@protocol AMapNaviRideViewDelegate;
30#pragma mark - Delegate
33@property (nonatomic, weak) id<AMapNaviRideViewDelegate>
delegate;
59@property (nonatomic, assign) BOOL showSensorHeading
__attribute((deprecated(
"已废弃,自车图标方向将显示为设备方向,不再支持设置。since 10.0.900")));
90#pragma mark - Polyline Texture
96@property (nonatomic, copy, nullable) UIImage *normalTexture
__attribute((deprecated(
"已废弃, 请使用 routeStatusColor 替代 since 10.0.900")));
102@property (nonatomic, copy, nullable) UIImage *greyTexture
__attribute((deprecated(
"已废弃, 请使用 routeGreyColor 替代 since 10.0.900")));;
116- (void)setStartPointImage:(nullable UIImage *)startPointImage;
122- (void)setEndPointImage:(nullable UIImage *)endPointImage;
128- (void)setCarImage:(nullable UIImage *)carImage;
134- (void)setCarCompassImage:(nullable UIImage *)carCompassImage;
140- (void)setWayPointImage:(nullable UIImage *)wayPointImage;
141#pragma mark - Overlay
146- (void)addCustomOverlay:(
id <AMapNaviCompositeOverlay>_Nonnull)overlay;
152- (void)removeCustomOverlay:(
id <AMapNaviCompositeOverlay>_Nonnull)overlay;
162@protocol AMapNaviRideViewDelegate <NSObject>
202- (void)rideView:(
AMapNaviRideView *)rideView didChangeOrientation:(BOOL)isLandscape;
209- (void)rideView:(
AMapNaviRideView *)rideView didChangeDayNightType:(BOOL)showStandardNightType;
AMapNaviViewTrackingMode
Definition AMapNaviCommonObj.h:33
AMapNaviViewMapModeType
Definition AMapNaviCommonObj.h:424
AMapNaviRideViewShowMode
Definition AMapNaviRideView.h:19
@ AMapNaviRideViewShowModeOverview
全览状态
Definition AMapNaviRideView.h:21
@ AMapNaviRideViewShowModeCarPositionLocked
锁车状态
Definition AMapNaviRideView.h:20
@ AMapNaviRideViewShowModeNormal
普通状态
Definition AMapNaviRideView.h:22
路线走过后置灰的颜色. since 7.4.0
Definition AMapNaviCommonObj.h:1210
路线的路况颜色. since 7.4.0
Definition AMapNaviCommonObj.h:1235
骑行导航界面.该类实现AMapNaviRideDataRepresentable协议,可通过 AMapNaviRideManager 的addDataRepresentative:方法进行注册展示骑行导...
Definition AMapNaviRideView.h:28
BOOL showScale
当前地图是否显示比例尺,默认NO
Definition AMapNaviRideView.h:73
BOOL showGreyAfterPass
走过的路线是否置灰,默认为NO. since 7.4.0
Definition AMapNaviRideView.h:99
AMapNaviPolylineTrafficStatusColor * routeStatusColor
路线的颜色,在调用 addDataRepresentative 前设置,status 设置为 AMapNaviRouteStatusDefault since 10....
Definition AMapNaviRideView.h:108
CGPoint scaleOrigin
当前地图比例尺的原点位置,默认(10,10)
Definition AMapNaviRideView.h:76
BOOL isLandscape
目前是否为横屏状态. since 7.4.0 内部会自行监听 UIDeviceOrientationDidChange 进行横竖屏切换,无需再设置此值,但用户要自行保证 AMapNaviRideView...
Definition AMapNaviRideView.h:38
BOOL showUIElements
是否显示界面元素,默认YES
Definition AMapNaviRideView.h:47
BOOL showTurnArrow
是否显示转向箭头,默认YES
Definition AMapNaviRideView.h:56
BOOL showSensorHeading __attribute((deprecated("已废弃,自车图标方向将显示为设备方向,不再支持设置。since 10.0.900")))
是否显示传感器方向信息,默认NO.设置为YES后,自车图标方向将显示为设备方向
id< AMapNaviRideViewDelegate > delegate
实现了 AMapNaviRideViewDelegate 协议的类指针
Definition AMapNaviRideView.h:33
AMapNaviViewTrackingMode trackingMode
导航界面跟随模式,默认AMapNaviViewTrackingModeMapNorth
Definition AMapNaviRideView.h:41
AMapNaviViewMapModeType mapViewModeType __attribute((deprecated("已废弃,不支持外部设置。since 10.0.900")))
导航界面日夜模式类型, 默认为 AMapNaviViewMapModeTypeDay(白天模式) since 8.0.0
CGPoint screenAnchor
地图的视图锚点. (0, 0)为左上角,(1, 1)为右下角. 可通过设置此值来改变自车图标的默认显示位置. 注意:只有showUIElements为NO时,设置此值才有效 since 8....
Definition AMapNaviRideView.h:79
AMapNaviPolylineGreyColor * routeGreyColor
Definition AMapNaviRideView.h:105
UIImage *normalTexture __attribute((deprecated("已废弃, 请使用 routeStatusColor 替代 since 10.0.900")))
标准路线Polyline的纹理图片,设置nil恢复默认纹理.纹理图片需满足:长宽相等,且宽度值为2的次幂
BOOL showCompass
是否显示指南针,默认NO
Definition AMapNaviRideView.h:67
BOOL showMoreButton
是否显示更多按钮,默认YES
Definition AMapNaviRideView.h:53
CGFloat cameraDegree
非锁车状态下地图cameraDegree,锁车态下内部会处理,默认35.0,范围[0,60]。since 10.0.900
Definition AMapNaviRideView.h:70
CGPoint compassOrigin
指南针原点位置. since 8.0.0
Definition AMapNaviRideView.h:82
CGFloat lineWidth
路线polyline的宽度,设置0恢复默认宽度
Definition AMapNaviRideView.h:93
BOOL showBrowseRouteButton
是否显示全览按钮,默认YES
Definition AMapNaviRideView.h:50
void updateRoutePolylineInTheVisualRangeWhenTheShowModeIsOverview()
在全览状态下调用此函数能够让路线显示在可视区域内(排除EdgePadding后剩余的区域),保证路线不被自定义界面元素遮挡. 比如showUIElements为NO时(自定义界面)横竖屏切换后,可以调用...
UIImage *greyTexture __attribute((deprecated("已废弃, 请使用 routeGreyColor 替代 since 10.0.900")))
路线纹理部分走过后置灰的纹理图片,设置nil恢复默认纹理. 纹理图片需满足:长宽相等,且宽度值为2的次幂. since 7.4.0
AMapNaviRideViewShowMode showMode
导航界面显示模式,默认AMapNaviRideViewShowModeCarPositionLocked
Definition AMapNaviRideView.h:44
Definition MAMapCustomStyleOptions.h:12
AMapNaviEleBikeeDataRepresentable协议.实例对象可以通过实现该协议,并将其通过 AMapNaviEleBikeManager 的addDataRepresentative...
Definition AMapNaviEleBikeDataRepresentable.h:24
AMapNaviRideDataRepresentable协议.实例对象可以通过实现该协议,并将其通过 AMapNaviRideManager 的addDataRepresentative:方法进行注册...
Definition AMapNaviRideDataRepresentable.h:24