9 #ifndef _QVECTORHEATOVERLAY_H_
10 #define _QVECTORHEATOVERLAY_H_
12 #import <QMapKit/QHeatNodeProtocol.h>
13 #import <QMapKit/QGLOverlay.h>
15 NS_ASSUME_NONNULL_BEGIN
21 typedef enum QVectorHeatType {
22 QVectorHeatTypeHoneyComb,
35 @property (nonatomic, assign) QVectorHeatType
type;
43 @property (nonatomic, assign) CLLocationDistance
size;
50 @property (nonatomic, assign) CLLocationDistance
gap;
55 @property (nonatomic, assign) CGFloat
opacity;
60 @property (nonatomic, assign) CGFloat
minZoom;
65 @property (nonatomic, assign) CGFloat
maxZoom;
82 - (void)setMinIntensity:(CGFloat)minIntensity maxIntensity:(CGFloat)maxIntensity;
88 @property (nonatomic, readonly) NSArray<UIColor *> *
colors;
99 @property (nonatomic, readonly) NSArray<NSNumber *> *
startPoints;
107 - (void)setColors:(NSArray<UIColor *> *)colors startPoints:(NSArray<NSNumber *> *)startPoints;
135 @property (nonatomic, assign) CLLocationCoordinate2D center;
140 @property (nonatomic, assign)
float intensity;
145 @property (nonatomic, strong) NSArray<NSNumber *> *nodeIndices;
158 QMapRect _boundingRect;
165 @property (nonatomic, copy ) NSArray<id<QHeatNodeProtocol> > *nodes;
170 @property (nonatomic, assign) CLLocationCoordinate2D geoReferencePoint;
182 @property (nonatomic, readonly) NSArray<UIColor *> *
colors;
201 - (void)setColors:(NSArray<UIColor *> *)colors startPoints:(NSArray<NSNumber *> *)startPoints;
206 @property (nonatomic, assign) QVectorHeatType
type;
223 - (void)setMinHeight:(CGFloat)minHeight maxHeight:(CGFloat)maxHeight;
230 - (void)setMinIntensity:(CGFloat)minIntensity maxIntensity:(CGFloat)maxIntensity;
238 @property (nonatomic, assign) CLLocationDistance
size;
245 @property (nonatomic, assign) CLLocationDistance
gap;
256 @property(nonatomic, readonly)
QMapRect boundingMapRect;
276 NS_ASSUME_NONNULL_END