MapClusteringConfig class

Configuration for map clustering.

Constructors

MapClusteringConfig({double minZoom = 5, double maxZoom = 15, int maxClusterRadius = 45, Size clusterSize = const Size(40, 40), EdgeInsets clusterPadding = const EdgeInsets.all(8), AlignmentGeometry clusterAlignment = Alignment.center, bool zoomToBoundsOnClick = true, EdgeInsets fitBoundsPadding = const EdgeInsets.all(80.0), required Widget clusterBuilder(BuildContext context, List<Marker> markers)})
const

Properties

clusterAlignment → AlignmentGeometry
final
clusterBuilder → Widget Function(BuildContext context, List<Marker> markers)
final
clusterPadding → EdgeInsets
final
clusterSize → Size
final
fitBoundsPadding → EdgeInsets
final
hashCode → int
The hash code for this object.
no setterinherited
maxClusterRadius → int
final
maxZoom → double
final
minZoom → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
zoomToBoundsOnClick → bool
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.
inherited