dataforgoodfr / dataforgoodfr/14_Data4Trees
fix(filters): try to fix the clustering issue
Open
@david-bretaud-dev is already working on this.
Since Sep 13, 2026.
- Dominant language
- TypeScript
- Stars
- 9
- Forks
- 0
- Avg merge
- 10d 11h
- Merged PRs (30d)
- 4
Description
The problem with frontend-only filters is that clustering count is not updated, since the source itself is not updated.
The goal is to investigate potential solutions for this problem.
- Look into setGlobalStateProperty https://maplibre.org/maplibre-gl-js/docs/API/classes/Map/#setglobalstateproperty
- Or quick recalculation with setLayerFilter if needed (apparently it does reload only what has been updated, so it should be way faster than the original load)
Contributor guide
No contributing guide indexed for this repository
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.
Assessment
This issue has not been assessed yet.