Skip to content
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

Increase minimum supercluster version #5002

Merged
merged 1 commit into from
Jul 20, 2017
Merged

Conversation

johnlaur
Copy link
Contributor

@johnlaur johnlaur commented Jul 20, 2017

Please consider increasing the supercluster version to ^2.3.0. This version of supercluser populates a cluster_id property of all clusters that it generates. This property is a useful cross reference when using a second instance of the supercluster object to aggregate properties or explore cluster members. Such functionality appears to be planned for integration into mapbox-gl-js per discussion in #2412 at which point the newer supercluster release would become a requirement.

In any case, supercluster 2.0.1 lacks the large performance improvement in version 2.1.0, and the release version of mapbox-gl-js is built against 2.2.0. So this ought to be bumped for other reasons as well.

👀 @jfirebaugh

supercluster version needs to be 2.3.0 at minimum to populate the cluster_id property of clusters. This property is a useful reference when using a second instance of supercluster to aggregate properties or explore cluster members.
@mourner mourner merged commit 7d13890 into mapbox:master Jul 20, 2017
@mourner
Copy link
Member

mourner commented Jul 20, 2017

Thank you!

@andrewharvey
Copy link
Collaborator

Should this also bump yarn.lock? https://github.com/mapbox/mapbox-gl-js/blob/master/yarn.lock#L6077

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants