react-native-map-clustering
react-native-map-clustering copied to clipboard
onRegionChangeComplete wrong second parameter
You are passing a wrong parameter to onRegionChangeComplete from the MapView. It has to be const details = { isGesture }; but you are passing an array of markers.
Please pass the correct 2nd parameter or update the documentation to show this decision and provide a way to know if the it was a gesture update or not.
I (and many others probably) need to know if the update was user-initiated or not.
Possible solution

I created a PR
I see the same issue but I dont see the PR
You are passing a wrong parameter to onRegionChangeComplete from the MapView. It has to be const details = { isGesture }; but you are passing an array of markers.
Please pass the correct 2nd parameter or update the documentation to show this decision and provide a way to know if the it was a gesture update or not.
I (and many others probably) need to know if the update was user-initiated or not.
Possible solution
I created a PR
did you find a solution to this?