BaiduMap_IOSSDK_v6.5.5doc_Docs  6.5.5
BMKHeatMap.h
浏览该文件的文档.
1 /*
2  * BMKHeatMap.h
3  * BMapKit
4  *
5  * Copyright 2013 Baidu Inc. All rights reserved.
6  *
7  */
8 #import <UIKit/UIKit.h>
9 #import <Foundation/Foundation.h>
10 
11 #import <CoreLocation/CLLocation.h>
12 
13 #import "BMKGradient.h"
14 #import "BMKAnimation.h"
15 
17 @interface BMKHeatMapNode : NSObject
18 
20 @property (nonatomic, assign) double intensity;
22 @property (nonatomic, assign) CLLocationCoordinate2D pt;
23 
24 @end
25 
26 
27 @protocol BMKHeatMapDelegate <NSObject>
29 - (void)onHandleCurrentHeatMapFrameAnimationIndex:(NSInteger)index;
30 
31 @end
32 
34 @interface BMKHeatMap : NSObject
36 @property (nonatomic, assign) id<BMKHeatMapDelegate> delegate;
38 @property (nonatomic, assign) int mRadius;
40 @property (nonatomic, assign) int mMaxHight;
42 @property (nonatomic, assign) double mMaxIntensity;
44 @property (nonatomic, assign) double mMinIntensity;
46 @property (nonatomic, strong) BMKGradient *mGradient;
48 @property (nonatomic, assign) double mOpacity;
49 
52 @property (nonatomic, copy) NSArray <BMKHeatMapNode *> *mData;
54 @property (nonatomic, copy) NSArray <NSArray <BMKHeatMapNode *> *> *mDatas;
55 
57 @property (nonatomic, strong) BMKAnimation *animation;
59 @property (nonatomic, strong) BMKAnimation *frameAnimation;
60 @end
61 
62 
63 
BMKAnimation
动画类
Definition: BMKAnimation.h:28
BMKAnimation.h
BMKHeatMapDelegate-p
Definition: BMKHeatMap.h:27
BMKHeatMapNode
热力图节点信息
Definition: BMKHeatMap.h:18
BMKGradient
此类表示热力图渐变色
Definition: BMKGradient.h:12
BMKHeatMap
热力图的绘制数据和显示样式类
Definition: BMKHeatMap.h:35
BMKHeatMapNode::intensity
double intensity
点的强度权值,默认值1,范围[> 0]
Definition: BMKHeatMap.h:20
BMKGradient.h
BMKHeatMapNode::pt
CLLocationCoordinate2D pt
点的位置坐标
Definition: BMKHeatMap.h:22