Cluster constructor
const
Cluster(
- ClusterManagerId clusterManagerId,
- List<
MarkerId> markerIds, { - required LatLng position,
- required LatLngBounds bounds,
Creates a cluster with its location LatLng, bounds LatLngBounds, and list of MarkerIds in the cluster.
Implementation
const Cluster(
this.clusterManagerId,
this.markerIds, {
required this.position,
required this.bounds,
}) : assert(markerIds.length > 0);