react-native-map-clustering icon indicating copy to clipboard operation
react-native-map-clustering copied to clipboard

is there a way to get any meta data from the original data in a cluster?

Open lucksp opened this issue 1 year ago • 2 comments

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?

lucksp avatar Jan 11 '23 21:01 lucksp

I went to issues to ask the same question. I've been thinking about it all evening and haven't found anything

Bogdan2904 avatar Jan 11 '23 21:01 Bogdan2904

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

LJoel123 avatar Feb 15 '23 10:02 LJoel123