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

MACustomBuildingOverlay.h
Go to the documentation of this file.
1 //
2 // MACustomBuildingOverlay.h
3 // MAMapKit
4 //
5 // Created by liubo on 2018/5/23.
6 // Copyright © 2018年 Amap. All rights reserved.
7 //
8
9 #import "MAConfig.h"
10 #if MA_INCLUDE_OVERLAY_CUSTOMBUILDING
11
12 #import "MAShape.h"
13 #import "MAOverlay.h"
14 #import "MAMultiPoint.h"
15
16 #pragma mark - MACustomBuildingOverlayOption
17
20 @interface MACustomBuildingOverlayOption : MAMultiPoint
21
24 @property (nonatomic, assign) CGFloat height;
25
28 @property (nonatomic, assign) CGFloat heightScale;
29
32 @property (nonatomic, strong) UIColor *topColor;
33
36 @property (nonatomic, strong) UIColor *sideColor;
37
40 @property (nonatomic, assign) BOOL visibile;
41
52 + (instancetype)optionWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
53
64 - (BOOL)setOptionWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
65
66 @end
67
68
69 #pragma mark - MACustomBuildingOverlay
70
73 @interface MACustomBuildingOverlay : MAShape<MAOverlay>
74
77 @property (nonatomic, readonly) MACustomBuildingOverlayOption *defaultOption;
78
81 @property (nonatomic, readonly) NSArray<MACustomBuildingOverlayOption *> *customOptions;
82
89 - (void)addCustomOption:(MACustomBuildingOverlayOption *)option;
90
97 - (void)removeCustomOption:(MACustomBuildingOverlayOption *)option;
98
99 @end
100
101 #endif
MAConfig.h
MAMultiPoint.h
MAOverlay.h
MAShape.h
MACustomBuildingOverlay
Definition: MACustomBuildingOverlay.h:73
MACustomBuildingOverlayOption
Definition: MACustomBuildingOverlay.h:21
MACustomBuildingOverlayOption::sideColor
UIColor * sideColor
Definition: MACustomBuildingOverlay.h:36
MACustomBuildingOverlayOption::height
CGFloat height
Definition: MACustomBuildingOverlay.h:24
MACustomBuildingOverlayOption::heightScale
CGFloat heightScale
Definition: MACustomBuildingOverlay.h:28
MACustomBuildingOverlayOption::visibile
BOOL visibile
Definition: MACustomBuildingOverlay.h:40
MACustomBuildingOverlayOption::topColor
UIColor * topColor
Definition: MACustomBuildingOverlay.h:32
MAMultiPoint
Definition: MAMultiPoint.h:17
MAShape
Definition: MAShape.h:16
MAOverlay-p
Definition: MAOverlay.h:15
© 2017 高德信息技术有限公司 版权所有，保留所有权利。