HeatmapLayerProperties class

Implemented types

Constructors

HeatmapLayerProperties({dynamic heatmapRadius, dynamic heatmapWeight, dynamic heatmapIntensity, dynamic heatmapColor, dynamic heatmapOpacity, dynamic visibility})
const
HeatmapLayerProperties.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
heatmapColor → dynamic
Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses ["heatmap-density"] as input.
final
heatmapIntensity → dynamic
Similar to heatmap-weight but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.
final
heatmapOpacity → dynamic
The global opacity at which the heatmap layer will be drawn.
final
heatmapRadius → dynamic
Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed.
final
heatmapWeight → dynamic
A measure of how much an individual point contributes to the heatmap. A value of 10 would be equivalent to having 10 points of weight 1 in the same spot. Especially useful when combined with clustering.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
visibility → dynamic
Whether this layer is displayed.
final

Methods

copyWith(HeatmapLayerProperties changes) HeatmapLayerProperties
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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