iOS高德地图SDK(2D)  v5.6.0
MAHeatMapGradient Class Reference

热力图渐变属性 More...

#import <MAHeatMapTileOverlay.h>

Inheritance diagram for MAHeatMapGradient:

Instance Methods

(instancetype) - initWithColor:andWithStartPoints:
 重新设置gradient的时候,需要执行 MATileOverlayView 中的 reloadData 方法 More...
 

Properties

NSArray * colors
 颜色 default [blue,green,red] More...
 
NSArray * startPoints
 default [@(0.2),@(0.5),@(0,9)] More...
 

Detailed Description

热力图渐变属性

Method Documentation

◆ initWithColor:andWithStartPoints:()

- (instancetype) initWithColor: (NSArray *)  colors
andWithStartPoints: (NSArray *)  startPoints 

重新设置gradient的时候,需要执行 MATileOverlayView 中的 reloadData 方法

Parameters
colors颜色
startPointsstartPoints
Returns
instance

Property Documentation

◆ colors

- (NSArray*) colors
readnonatomicassign

颜色 default [blue,green,red]

◆ startPoints

- (NSArray*) startPoints
readnonatomicassign

default [@(0.2),@(0.5),@(0,9)]


The documentation for this class was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。