iOS高德地图SDK(3D) V11.2.0001

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
MABaseEngineOverlay.h
MAConfig.h
MARouteOverlayModel.h
MABaseEngineOverlay
Definition: MABaseEngineOverlay.h:14
MARouteOverlay
Definition: MARouteOverlay.h:17
-[MARouteOverlay addRouteName]
void addRouteName()
MARouteOverlay::data
MAMapRouteOverlayData * data
Definition: MARouteOverlay.h:20
MARouteOverlay::mapScene
NSUInteger mapScene
Definition: MARouteOverlay.h:17
MARouteOverlay::select
BOOL select
Definition: MARouteOverlay.h:19
MARouteOverlay::passedColors
NSArray< NSNumber * > * passedColors
Definition: MARouteOverlay.h:21
-[MARouteOverlay removeRouteName]
void removeRouteName()
MARouteOverlay::params
NSArray< MARouteOverlayParam * > * params
Definition: MARouteOverlay.h:18
© 2017 高德信息技术有限公司 版权所有，保留所有权利。