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

Not to cluster Markers

Open ddrr1337 opened this issue 1 year ago • 2 comments

Hi This is my first pull request!. Hope I will do propely.

I notice that when <MapView/> is clustering, is clustering everything. I Think will be nice to prevent some custom Markers to being wrapped into a cluster. For example If my position uses a custom Marker that reprent my position, then my position will end clustered as well, to prevent that I modified the code to accept a new prop 'notToCluster' where you can pass an Array of the keys you don't want to cluster.

Thanks!

ddrr1337 avatar Feb 15 '24 14:02 ddrr1337