react-native-map-clustering
react-native-map-clustering copied to clipboard
Excluding some point
Hello, Thanks for this library!
I'm rendering various points on my map for some points of interest but I'm also rendering the user location.
I don't want the user location point to be clustered nor counted in clusters… I would like to exclude it from clustering, how can I proceed?
Maybe we could expect a nonClusteredMarkers
property?
Thanks :)
https://github.com/venits/react-native-map-clustering/blob/master/lib/helpers.js#L10
Just add cluster={false}
https://github.com/venits/react-native-map-clustering/blob/master/lib/helpers.js#L10
Just add cluster={false}
Was not documented, thanks.
I switched to https://github.com/JiriHoffmann/react-native-clusterer which is more performant and easier for this use case