Heatmap class

Paints a heatmap on geographical locations on the map.

Annotations

Constructors

Heatmap({@required HeatmapId heatmapId, List<WeightedLatLng> points = const <WeightedLatLng>[], HeatmapGradient gradient, double opacity = 0.7, int radius = 20, bool fadeIn = true, double transparency = 0, bool visible = true, int zIndex = 0})
Creates an immutable object representing a heatmap on the map.
const

Properties

fadeIn bool
Whether the heatmap layer should fade in.
final
gradient HeatmapGradient
The gradient of the heatmap points.
final
hashCode int
The hash code for this object. [...]
read-only, override
heatmapId HeatmapId
Uniquely identifies a Heatmap.
final
opacity double
The opacity of the heatmap points.
final
points List<WeightedLatLng>
The vertices of the heatmap to be painted.
final
radius int
The radius of the points in pixels, between 10 and 50.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
transparency double
The transparency of the heatmap layer.
final
visible bool
True if the marker is visible.
final
zIndex int
The z-index of the polyline, used to determine relative drawing order of map overlays. [...]
final

Methods

clone() Heatmap
Creates a new Heatmap object whose values are the same as this instance.
copyWith({List<WeightedLatLng> pointsParam, HeatmapGradient gradientParam, double opacityParam, int radiusParam, bool fadeInParam, double transparencyParam, bool visibleParam, int zIndexParam}) Heatmap
Creates a new Heatmap object whose values are the same as this instance, unless overwritten by the specified parameters.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
override