mapbox / mapbox/mapbox-gl-draw
Option to disable multi-select (shift+click) in draw.selectionchange
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 612
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 5
Description
Hey, I would like to be able to disable multi-select of features by using shift+click. This is a functionality of draw.selectionchange. I have already disabled boxSelect and keybindings, but it didn't help.
Is there any current workaround for this, in order to prevent multi-select?
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 with the draw.selectionchange entry in docs/API.md and review how the existing boxSelect and keybindings options relate to shift+click selection. The change is done when users can disable shift+click multi-selection without disabling unrelated drawing or selection behavior; the issue does not name a test or implementation file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100