getClusters abstract method

List<ClusterMapObject> getClusters()

Returns a snapshot of currently visible clusters.

Example:

final clusters = controller.getClusters();
print("Visible clusters: ${clusters.length}");

Implementation

List<ClusterMapObject> getClusters();