TencentMapSDK_iOS_3D_v6.8.0

载入中...
搜索中...
未找到
QHeatNodeProtocol.h
1//
2// QHeatNodeProcotol.h
3// QMapKit
4//
5// Created by fan on 2020/3/9.
6// Copyright © 2020 tencent. All rights reserved.
7//
8
9#import <CoreGraphics/CoreGraphics.h>
10#import <CoreLocation/CoreLocation.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
14
18@protocol QHeatNodeProtocol <NSObject>
19
20@required
21
25@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
26
30@property (nonatomic, readonly) CGFloat value;
31
32@end
33
37@interface QHeatNode : NSObject <QHeatNodeProtocol>
38
42@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
43
47@property (nonatomic, assign) CGFloat value;
48
49@end
50
51
52NS_ASSUME_NONNULL_END
QHeatNode
热力图节点数据
定义 QHeatNodeProtocol.h:37
QHeatNode::value
CGFloat value
节点的热力值.
定义 QHeatNodeProtocol.h:47
QHeatNode::coordinate
CLLocationCoordinate2D coordinate
节点的坐标.
定义 QHeatNodeProtocol.h:42
QHeatNodeProtocol-p
协议类。用于提供生成热力图时需要的数据
定义 QHeatNodeProtocol.h:18
QHeatNodeProtocol-p::coordinate
CLLocationCoordinate2D coordinate
坐标.
定义 QHeatNodeProtocol.h:25
QHeatNodeProtocol-p::value
CGFloat value
热力值.
定义 QHeatNodeProtocol.h:30