We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onClusterPress
I have installed the library and imported it as suggested in the Read.me file. I am using expo for my project and testing on Android.
When I press on a cluster, I want to console.log the info about the cluster:
import MapView from "react-native-map-clustering"; .... <MapView style={styles.map} initialRegion={initialRegion} onClusterPress={(cluster, markers) => { console.log("cluster was pressed: ", cluster); }} clusterColor={"pink"} ref={mapRef} > ...
However, when I press the cluster, nothing happens. Can someone please, explain why?
The text was updated successfully, but these errors were encountered:
Having same issue in iOS
Sorry, something went wrong.
No branches or pull requests
I have installed the library and imported it as suggested in the Read.me file. I am using expo for my project and testing on Android.
When I press on a cluster, I want to console.log the info about the cluster:
However, when I press the cluster, nothing happens. Can someone please, explain why?
The text was updated successfully, but these errors were encountered: