BaiduMap_IOSSDK_v6.6.2_Docs 6.6.2
载入中...
搜索中...
未找到
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, weak) id<BMKHeatMapDelegate> delegate;
38@property (nonatomic, assign) int mRadius;
40@property (nonatomic, assign) BOOL mRadiusIsMeter;
42@property (nonatomic, assign) int mRadiusMeter;
44@property (nonatomic, assign) int mMaxShowLevel;
46@property (nonatomic, assign) int mMinShowLevel;
48@property (nonatomic, assign) int mMaxHight;
50@property (nonatomic, assign) double mMaxIntensity;
52@property (nonatomic, assign) double mMinIntensity;
54@property (nonatomic, strong) BMKGradient *mGradient;
56@property (nonatomic, assign) double mOpacity;
57
60@property (nonatomic, copy) NSArray <BMKHeatMapNode *> *mData;
62@property (nonatomic, copy) NSArray <NSArray <BMKHeatMapNode *> *> *mDatas;
63
65@property (nonatomic, strong) BMKAnimation *animation;
67@property (nonatomic, strong) BMKAnimation *frameAnimation;
68@end
69
70
71
动画类
Definition BMKAnimation.h:28
此类表示热力图渐变色
Definition BMKGradient.h:12
热力图的绘制数据和显示样式类
Definition BMKHeatMap.h:35
热力图节点信息
Definition BMKHeatMap.h:18
CLLocationCoordinate2D pt
点的位置坐标
Definition BMKHeatMap.h:22
double intensity
点的强度权值,默认值1,范围[> 0]
Definition BMKHeatMap.h:20