mapbox / mapbox/mapbox-gl-draw

Adding api.deselect/api.clearSelected?

Open
#900 2 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.