mapbox / mapbox/supercluster

Create a new clustering option maxPoints

Open
#179 1 comment 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
2.4k
Forks
304
PR merge metrics
No merged PRs in 30d

Description

Idea of improvement

We have the possibility to determine a minimum of points by Cluster. But we do not have the possibility to determine a maximum of points by Cluster, which i think would add more flexibility to this module.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading how the existing minimum-points-per-cluster option is handled and trace it through the clustering algorithm. Define how a maximum should interact with the current clustering behavior, then verify the option with focused clustering cases, including clusters that exceed the requested limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.