-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
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
No cluster with the specified id #52
Comments
The issue seems to be related to having multiple points with exactly the same coordinates. We've explained in this issue on the Supercluster library: mapbox/supercluster#103 But it isn't clear why this error happens on first load of the app, but not if the app is reloaded. |
Turns out, this was down to poor data. |
@craigcoles Can you elaborate? I'm seeing the same behavior with supercluster. |
@bclinkinbeard With the poor data that we had, on first load of the application after install, locations that were |
@craigcoles Like you were giving supercluster features with |
@bclinkinbeard Yeah, I believe that was the issue. For some reason, it was only happening on first load after a fresh install of the application. |
Environment
Steps to Reproduce
Expected Behaviour
Upon loading the application and clicking on a cluster, to display the children of the cluster.
Actual Behaviour
After installing the application from fresh and loading the app, if you click on a cluster its throws the following error:
If you reload the application and try again, no error is encountered and everything works as expected.
Notes
onClusterPress
method to do some do different things depending on the number of children in the cluster:onClusterPress
we are getting the children to see how many there are:The text was updated successfully, but these errors were encountered: