TencentMapSDK_iOS_3D_v6.7.0
QHeatOverlay.h
1 //
2 // QHeatOverlay.h
3 // QMapKit
4 //
5 // Created by Keith Cao on 2020/9/10.
6 // Copyright © 2020 tencent. All rights reserved.
7 //
8 
9 #ifndef _QHEATOVERLAY_H_
10 #define _QHEATOVERLAY_H_
11 
12 #import <Foundation/Foundation.h>
13 #import <UIKit/UIKit.h>
14 #import <QMapKit/QHeatNodeProtocol.h>
15 #import <QMapKit/QGLOverlay.h>
16 
20 @interface QHeatGradient : NSObject
21 
25 @property (nonatomic, readonly) NSArray<UIColor *> *colors;
26 
30 @property (nonatomic, readonly) NSArray<NSNumber *> *startPoints;
31 
40 - (instancetype)initWithColor:(NSArray<UIColor *> *)colors andWithStartPoints:(NSArray<NSNumber *> *)startPoints;
41 
42 @end
43 
49 {
50  @package
51  QMapRect _boundingRect;
52 }
53 
60 - (instancetype)initWithHeatNodes:(NSArray<id<QHeatNodeProtocol> > *)heatNodes;
61 
66 @property (nonatomic, copy) NSArray<id<QHeatNodeProtocol> > *nodes;
67 
73 @property (nonatomic, assign) NSInteger decayRadius;
74 
79 @property (nonatomic, strong) QHeatGradient *gradient;
80 
85 @property (nonatomic, assign) CGFloat maxHeight;
86 
92 - (void)setMinIntensity:(CGFloat)minIntensity maxIntensity:(CGFloat)maxIntensity;
93 
98 @property (nonatomic, assign) BOOL enable3D;
99 
104 @property (nonatomic, strong) QAnimation *animation;
105 
106 
107 @end
108 
109 #endif
QAnimation
动画配置
Definition: QShape.h:31
QHeatGradient
热力图渐变属性
Definition: QHeatOverlay.h:21
QHeatOverlay
矢量热力图overlay,支持高度效果
Definition: QHeatOverlay.h:49
QHeatGradient::startPoints
NSArray< NSNumber * > * startPoints
颜色变化节点,需为严格递增数组,区间为[0, 1.0]
Definition: QHeatOverlay.h:30
QHeatNodeProtocol-p
协议类。用于提供生成热力图时需要的数据
Definition: QHeatNodeProtocol.h:18
QGLOverlay
可自定义渲染内容的覆盖物
Definition: QGLOverlay.h:52
QHeatGradient::colors
NSArray< UIColor * > * colors
颜色变化数组
Definition: QHeatOverlay.h:25