高德地图SDK(导航) V10.0.900
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
19@interface MACustomBuildingOverlayOption : MAMultiPoint
20
22@property (nonatomic, assign) CGFloat height;
23
25@property (nonatomic, assign) CGFloat heightScale;
26
28@property (nonatomic, strong) UIColor *topColor;
29
31@property (nonatomic, strong) UIColor *sideColor;
32
34@property (nonatomic, assign) BOOL visibile;
35
42+ (instancetype)optionWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
43
50- (BOOL)setOptionWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
51
52@end
53
54
55#pragma mark - MACustomBuildingOverlay
56
58@interface MACustomBuildingOverlay : MAShape<MAOverlay>
59
61@property (nonatomic, readonly) MACustomBuildingOverlayOption *defaultOption;
62
64@property (nonatomic, readonly) NSArray<MACustomBuildingOverlayOption *> *customOptions;
65
70- (void)addCustomOption:(MACustomBuildingOverlayOption *)option;
71
76- (void)removeCustomOption:(MACustomBuildingOverlayOption *)option;
77
78@end
79
80#endif
该类是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类MAPolyline,MAPolygon来实例化
Definition MAMultiPoint.h:16
该类为一个抽象类,定义了基于MAAnnotation的MAShape类的基本属性和行为,不能直接使用,必须子类化之后才能使用
Definition MAShape.h:15
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition MAOverlay.h:14
© 2017 高德信息技术有限公司 版权所有,保留所有权利。