Changing options dynamically
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.4k
- Forks
- 304
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
I'm trying to achieve a functionality where I can change, let's say the radius or extent, depending on what zoom level/region delta I'm currently on. Is there a way to do that for the actively current supercluster instance, or do I have reinitialise it with new options?
The problem right now is that the clustering is a bit too aggressive on close zoom levels in comparison with far zoom levels. It's kind of hard finding the perfect balance based on static values.
Thanks in advance!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source file, test, or entry point. Start by locating how the active supercluster instance applies the radius and extent options, then determine whether those options can change with zoom or region delta without reinitialization. Done should include a documented, tested answer or an agreed implementation scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100