10#if MA_INCLUDE_OVERLAY_HEATMAP
16typedef NS_ENUM(NSInteger, MAHeatMapType)
18 MAHeatMapTypeSquare = 1,
19 MAHeatMapTypeHoneycomb = 2
23@interface MAHeatMapVectorNode : NSObject
26@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
29@property (nonatomic, assign)
float weight;
34@interface MAHeatMapVectorItem : NSObject
37@property (nonatomic, readonly)
MAMapPoint center;
40@property (nonatomic, readonly)
float intensity;
43@property (nonatomic, readonly) NSArray<NSNumber *> *nodeIndices;
48@interface MAHeatMapVectorOverlayOptions : NSObject
51@property (nonatomic, assign) MAHeatMapType type;
54@property (nonatomic, assign) BOOL visible;
57@property (nonatomic, strong) NSArray<MAHeatMapVectorNode *> *inputNodes;
71@property (nonatomic, assign) CLLocationDistance size;
74@property (nonatomic, assign) CGFloat gap;
77@property (nonatomic, strong) NSArray<UIColor *> *colors;
80@property (nonatomic, strong) NSArray<NSNumber *> *startPoints;
83@property (nonatomic, assign) CGFloat opacity __attribute((deprecated(
"已废弃,since 7.9.0,请使用MAHeatMapVectorOverlayRender中的alpha")));;
86@property (nonatomic, assign)
int maxIntensity;
89@property (nonatomic, assign) CGFloat minZoom;
92@property (nonatomic, assign) CGFloat maxZoom;
100@property (nonatomic, strong) MAHeatMapVectorOverlayOptions *option;
107+ (instancetype)heatMapOverlayWithOption:(MAHeatMapVectorOverlayOptions *)option;
该类为一个抽象类,定义了基于MAAnnotation的MAShape类的基本属性和行为,不能直接使用,必须子类化之后才能使用
Definition MAShape.h:15
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition MAOverlay.h:14
平面投影坐标结构定义
Definition MAGeometry.h:38