TencentMapSDK_iOS_3D_v6.8.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
热力图渐变属性
定义 QHeatTileOverlay.h:18
QHeatTileGradient::colors
NSArray< UIColor * > * colors
颜色变化数组
定义 QHeatTileOverlay.h:22
QHeatTileGradient::startPoints
NSArray< NSNumber * > * startPoints
定义 QHeatTileOverlay.h:27
QHeatTileOverlay
热力图overlay
定义 QHeatTileOverlay.h:48
QHeatTileOverlay::gradient
QHeatTileGradient * gradient
热力图样式: 颜色梯度
定义 QHeatTileOverlay.h:84
QHeatTileOverlay::nodes
NSArray< id< QHeatTileNodeProtocol > > * nodes
热力图数据: 原始的节点数据. 数组每个元素符合 QHeatTileNodeProtocol 协议
定义 QHeatTileOverlay.h:62
QHeatTileOverlay::opacity
CGFloat opacity
热力图样式: 透明度. 默认为0.6，范围：0-1
定义 QHeatTileOverlay.h:77
QHeatTileOverlay::decayRadius
NSInteger decayRadius
热力图样式: 衰变半径. 单位 point
定义 QHeatTileOverlay.h:70
QTileOverlay
用于自定义瓦片数据的类
定义 QTileOverlay.h:19