ClusterEachCallback typedef

ClusterEachCallback = dynamic Function(FeatureCollection<GeometryObject>? cluster, dynamic clusterValue, int? currentIndex)

ClusterEachCallback Takes a FeatureCollection, the cluster being processed, a clusterValue used to create cluster being processed, and the currentIndex, the index of current element being processed in the List. Starts at index 0 Returns void.

Implementation

typedef ClusterEachCallback = dynamic Function(
  FeatureCollection? cluster,
  dynamic clusterValue,
  int? currentIndex,
);