iOS高德地图SDK(3D)  V7.5.0
MAHeatMapGradient Class Reference

热力图渐变属性 More...

#import <MAHeatMapTileOverlay.h>

Inheritance diagram for MAHeatMapGradient:

Instance Methods

(instancetype) - initWithColor:andWithStartPoints:
 重新设置gradient的时候,需要执行 MATileOverlayRenderer 的 reloadData 方法重刷新渲染缓存。 More...
 

Properties

NSArray< UIColor * > * colors
 颜色变化数组。 default [blue,green,red] More...
 
NSArray< NSNumber * > * startPoints
 颜色变化起点,需为递增数组,区间为(0, 1)。default[@(0.2),@(0.5),@(0,9)] More...
 

Detailed Description

热力图渐变属性

Method Documentation

◆ initWithColor:andWithStartPoints:()

- (instancetype) initWithColor: (NSArray< UIColor * > *)  colors
andWithStartPoints: (NSArray< NSNumber * > *)  startPoints 

重新设置gradient的时候,需要执行 MATileOverlayRenderer 的 reloadData 方法重刷新渲染缓存。

Parameters
colors颜色
startPointsstartPoints
Returns
instance

Property Documentation

◆ colors

- (NSArray<UIColor *>*) colors
readnonatomicassign

颜色变化数组。 default [blue,green,red]

◆ startPoints

- (NSArray<NSNumber *>*) startPoints
readnonatomicassign

颜色变化起点,需为递增数组,区间为(0, 1)。default[@(0.2),@(0.5),@(0,9)]


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