高德地图SDK(导航) V11.2.000
Loading...
Searching...
No Matches
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
Definition MAMultiPoint.h:17
Definition MAShape.h:16
Definition MAOverlay.h:15
© 2017 高德信息技术有限公司 版权所有,保留所有权利。