mapbox / mapbox/mapbox-gl-draw
Adding api.deselect/api.clearSelected?
Open
Nobody has claimed this yet.
api
feature
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 612
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 5
Description
Hi,
Is there a reason for not adding the **deselect**/**clearSelected** methods in the api?
That would be very useful.
m431m
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 reviewing the public API entry points for selection behavior and how existing selection methods are exposed. Define the expected behavior of api.deselect and api.clearSelected, then add coverage showing that selected features can be cleared through the API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100