MerginMaps / MerginMaps/mobile
Enable smart toggle-on for layers in groups
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 388
- Forks
- 87
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 20
Description
Toggle logic in tree-view is magic ✨ Especially when trying to mimic it in the mobile app UI/UX.
What we do at the moment ✅:
- when group is disabled, all sublayers/subgroups are disabled
What we want to achieve:
- when a sublayer/subgroup is enabled, it's parent group (all the way to the root) should be enabled. This is how QGIS works.
https://github.com/user-attachments/assets/d3a991f8-940c-4479-9968-da85c6254232
Test project: Create your own or use SurveyCorp/city_survey
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
Start by reproducing the tree-view behavior with a test project such as SurveyCorp/city_survey, then trace the existing toggle logic for groups and sublayers. Done means enabling any nested sublayer or subgroup also enables every parent group through the root, while preserving the current behavior when a group is disabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100