高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
MAHeatMapVectorOverlay.h
Go to the documentation of this file.
1//
2// MAHeatMapVectorOverlay.h
3// MAMapKit
4//
5// Created by ldj on 2019/7/25.
6// Copyright © 2019 Amap. All rights reserved.
7//
8
9#import "MAConfig.h"
10#if MA_INCLUDE_OVERLAY_HEATMAP
11
12#import "MAShape.h"
13#import "MAOverlay.h"
14
17 typedef NS_ENUM(NSInteger, MAHeatMapType)
18{
19 MAHeatMapTypeSquare = 1,
20 MAHeatMapTypeHoneycomb = 2
21};
22
25@interface MAHeatMapVectorNode : NSObject
26
29@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
30
33@property (nonatomic, assign) float weight;
34
35@end
36
39@interface MAHeatMapVectorItem : NSObject
40
43@property (nonatomic, readonly) MAMapPoint center;
44
47@property (nonatomic, readonly) float intensity;
48
51@property (nonatomic, readonly) NSArray<NSNumber *> *nodeIndices;
52
53@end
54
57@interface MAHeatMapVectorOverlayOptions : NSObject
58
61@property (nonatomic, assign) MAHeatMapType type;
62
65@property (nonatomic, assign) BOOL visible;
66
68@property (nonatomic, strong) NSArray<MAHeatMapVectorNode *> *inputNodes;
69
94@property (nonatomic, assign) CLLocationDistance size;
95
98@property (nonatomic, assign) CGFloat gap;
99
102@property (nonatomic, strong) NSArray<UIColor *> *colors;
103
106@property (nonatomic, strong) NSArray<NSNumber *> *startPoints;
107
110@property (nonatomic, assign) CGFloat opacity __attribute((deprecated("Deprecated, since 7.9.0, please use alpha in MAHeatMapVectorOverlayRender")));;
111
114@property (nonatomic, assign) int maxIntensity;
115
118@property (nonatomic, assign) CGFloat minZoom;
119
122@property (nonatomic, assign) CGFloat maxZoom;
123
124@end
125
128@interface MAHeatMapVectorOverlay : MAShape<MAOverlay>
129
132@property (nonatomic, strong) MAHeatMapVectorOverlayOptions *option;
133
142+ (instancetype)heatMapOverlayWithOption:(MAHeatMapVectorOverlayOptions *)option;
143
144@end
145
146#endif
MAConfig.h
MAOverlay.h
MAShape.h
MAShape
Definition MAShape.h:16
MAOverlay-p
Definition MAOverlay.h:15
MAMapPoint
Definition MAGeometry.h:42
© 2017 高德信息技术有限公司 版权所有，保留所有权利。