TencentMapSDK_iOS_3D_v6.7.0

QHeatTileOverlay.h
1 //
2 // QHeatTileOverlay.h
3 // QMapKit
4 //
5 // Created by tabsong on 15/8/10.
6 // Copyright (c) 2015年 Tencent. All rights reserved.
7 //
8
9 #import "QTileOverlay.h"
10 #import "QHeatTileNodeProtocol.h"
11
12 #pragma mark - QHeatTileGradient
13
17 @interface QHeatTileGradient : NSObject
18
22 @property (nonatomic, readonly) NSArray<UIColor *> *colors;
23
27 @property (nonatomic, readonly) NSArray<NSNumber *> *startPoints;
28
37 - (instancetype)initWithColor:(NSArray<UIColor *> *)colors andWithStartPoints:(NSArray<NSNumber *> *)startPoints;
38
39 @end
40
41 #pragma mark - QHeatTileOverlay
42
47 @interface QHeatTileOverlay : QTileOverlay
48
55 - (instancetype)initWithHeatTileNodes:(NSArray *)heatTileNodes;
56
62 @property (nonatomic, copy ) NSArray<id<QHeatTileNodeProtocol> > *nodes;
63
70 @property (nonatomic, assign ) NSInteger decayRadius;
71
77 @property (nonatomic, assign) CGFloat opacity;
78
84 @property (nonatomic, strong) QHeatTileGradient *gradient;
85
86 @end
87
QHeatTileGradient::startPoints
NSArray< NSNumber * > * startPoints
Definition: QHeatTileOverlay.h:27
QHeatTileOverlay::opacity
CGFloat opacity
热力图样式: 透明度. 默认为0.6，范围：0-1
Definition: QHeatTileOverlay.h:77
QHeatTileOverlay::decayRadius
NSInteger decayRadius
热力图样式: 衰变半径. 单位 point
Definition: QHeatTileOverlay.h:70
QHeatTileOverlay::nodes
NSArray< id< QHeatTileNodeProtocol > > * nodes
热力图数据: 原始的节点数据. 数组每个元素符合 QHeatTileNodeProtocol 协议
Definition: QHeatTileOverlay.h:62
QTileOverlay
用于自定义瓦片数据的类
Definition: QTileOverlay.h:19
QHeatTileOverlay
热力图overlay
Definition: QHeatTileOverlay.h:48
QHeatTileGradient
热力图渐变属性
Definition: QHeatTileOverlay.h:18
QHeatTileOverlay::gradient
QHeatTileGradient * gradient
热力图样式: 颜色梯度
Definition: QHeatTileOverlay.h:84
QHeatTileGradient::colors
NSArray< UIColor * > * colors
颜色变化数组
Definition: QHeatTileOverlay.h:22