react-native-map-clustering
react-native-map-clustering copied to clipboard
is there a way to get any meta data from the original data in a cluster?
We want to be able to render custom map clusters, based on the original array of items and properties of that specific item.
I rendered all the data from the superClusterRef
and the renderCluster
props of this library and there doesn't seem to be anything about the underlying data of the cluster.
Am I missing something or is this not available?
I went to issues to ask the same question. I've been thinking about it all evening and haven't found anything
I had the same issue. Here is the solution that worked for me: https://github.com/venits/react-native-map-clustering/issues/142#issuecomment-626655410