高德地图SDK(导航)  V11.1.000
MARouteOverlay.h
Go to the documentation of this file.
1 //
2 // MARouteOverlay.h
3 // MAMapKit
4 //
5 // Created by linshiqing on 2024/1/18.
6 // Copyright © 2024 Amap. All rights reserved.
7 //
8 
9 #import "MAConfig.h"
10 #if FEATURE_ROUTE_OVERLAY
11 #import "MABaseEngineOverlay.h"
12 #import "MARouteOverlayModel.h"
13 NS_ASSUME_NONNULL_BEGIN
14 
15 
16 @interface MARouteOverlay : MABaseEngineOverlay
17 @property (nonatomic, assign, readonly) NSUInteger mapScene;
18 @property (nonatomic, copy, readonly) NSArray<MARouteOverlayParam *> *params;
19 @property (nonatomic, assign, readonly) BOOL select;
20 @property (nonatomic, strong, readonly) MAMapRouteOverlayData *data;
21 @property (nonatomic, copy, readonly) NSArray<NSNumber *> *passedColors;
22 
23 - (instancetype)initWithMapSecne:(NSUInteger)mapScene params:(NSArray<MARouteOverlayParam *> *)params select:(BOOL)select data:(MAMapRouteOverlayData *)data passedColors:(NSArray<NSNumber *> *)passedColors;
24 
25 - (void)setCar2DWithIndex:(uint32_t)index position:(float)postion;
26 
27 - (void)setCar3DWithIndex:(uint32_t)index position:(float)postion;
28 
29 - (void)addRouteName;
30 
31 - (void)removeRouteName;
32 
33 - (void)setLineWidthScale:(float)scale;
34 
35 - (void)setLine2DWithLineWidth:(int32_t)lineWidth borderWidth:(int32_t)borderWidth;
36 
37  - (void)setShowArrow:(BOOL)bShow;
38 
39 - (void)setArrow3DTexture:(UIImage *)image;
40 
41 - (void)setRouteItemParam:(MARouteOverlayParam *)routeParam;
42 
43 - (void)setHighlightType:(MAMapRouteHighLightType)type;
44 
45 - (void)setHighlightParam:(MARouteOverlayHighLightParam *)highlightParam;
46 
47 - (void)setSelectStatus:(BOOL)status;
48 
49 - (void)setShowNaviRouteNameCountMap:(NSDictionary<NSNumber *, NSNumber *>*)countMap;
50 
51 - (void)setArrowFlow:(BOOL)bFlow;
52 @end
53 NS_ASSUME_NONNULL_END
54 #endif
Definition: MABaseEngineOverlay.h:14
© 2017 高德信息技术有限公司 版权所有,保留所有权利。