supercluster icon indicating copy to clipboard operation
supercluster copied to clipboard

get all markers in a cluster

Open crisfcodes opened this issue 2 years ago • 0 comments

I'm using superclsuter for clustering markers in react native map, what I want is to get all children from a cluster no matter what level of nesting a cluster may have.

to explain the situation a little better, a cluster can have markers and other clusters as children, I need to flatten the child clusters to get markers inside them.

cluster
  marker
  cluster(3 markers)

// this should return the 4 markers, the top-level marker, and markers within the child cluster

crisfcodes avatar May 23 '22 03:05 crisfcodes