BMFHeatMap class Null safety

热力图瓦片提供者

Constructors

BMFHeatMap({List<BMFHeatMapNode>? data, int? radius = 12, double? opacity = 0.6, BMFGradient? gradient, List<List<BMFHeatMapNode>>? datas, int? mMaxHight = 0, double? mMaxIntensity = 1, double? mMinIntensity = 0, BMFAnimation? animation, BMFAnimation? frameAnimation})
BMFHeatMap构造方法
BMFHeatMap.fromMap(Map map)
map => BMFHeatMap

Properties

animation BMFAnimation?
设置第一次显示时的动画属性,默认为无动画 since 3.3.0
read / write
data ↔ List<BMFHeatMapNode>?
用户传入的热力图数据,数组,成员类型为BMFHeatMapNode
read / write
datas ↔ List<List<BMFHeatMapNode>>?
用户传入的热力图数据data和datas ,二选一,优先datas 用户传入的热力图数据,数组,成员类型为List,用于帧动画,since 3.3.0
read / write
frameAnimation BMFAnimation?
设置帧动画属性,默认为无动画 since 3.3.0
read / write
gradient BMFGradient?
设置热力图渐变
read / write
hashCode → int
The hash code for this object.
read-only, inherited
mMaxHight ↔ int?
设置3D热力图最大高度,默认为0ps,范围0~200,since 3.3.0
read / write
mMaxIntensity ↔ double?
设置热力图最大权重值,默认为1.0,since 3.3.0
read / write
mMinIntensity ↔ double?
设置热力图最小权重值,默认为0.0,since 3.3.0
read / write
opacity ↔ double?
设置热力图层透明度,默认 0.6
read / write
radius ↔ int?
设置热力图点半径,默认为12ps
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

fromMap(Map map) → dynamic
map -> dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toMap() → Map<String, Object?>
model -> map
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited