Cluster class

Collection of Marker on the map

Constructors

Cluster({required String id, double zIndex = 0.0, String? description, LatLng? position, Anchor? anchor, Set<Marker>? markers, ClusterIcon? icon, VoidCallback? onTap})
const

Properties

anchor Anchor?
Specifies the anchor to be at a particular point in the cluster image.
final
description String?
A name or description of 'Cluster', which also be used to display additional information
final
hashCode int
The hash code for this object.
no setteroverride
icon ClusterIcon?
Optional ClusterIcon used to replace default icon.
final
id String
Uniquely identifies a Cluster.
final
markers Set<Marker>?
The specific markers list after the Cluster is expanded.
final
onTap VoidCallback?
A void Function which is called whenever a Cluster is tapped.
final
position LatLng?
The position where the Cluster is drawn is represented as LatLng.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zIndex double
The z-index of the cluster, used to determine relative drawing order of map overlays.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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