codempireio / react-native-cluster-map

ReactNative MapView clustering component for iOS + Android
MIT License
73 stars 15 forks source link

Create index.js + Added markers list onClusterClick method #28

Closed ManigandanRaamanathan closed 4 years ago

ManigandanRaamanathan commented 4 years ago

Fixes #25 Added getLeaves method for onClusterClick event as a temporary solution addressing #25

However, I was not able to get the entire list of the combined markers as the getLeaves method of superCluster provides array along with sub clusters. This requires a loop to run through to get a complete list of markers under each cluster. I might need your help @dimagreat

dimagreat commented 4 years ago

Sorry for the delay, we're working with typescript and in another codestyle.

Added children info in 1.0.5