mapbox / mapbox/mapbox-gl-draw

Selecting multiple features doesn't seem intuitive

Open
#800 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature ui
Dominant language
JavaScript
Stars
1.1k
Forks
612
Avg merge
8d 9h
Merged PRs (30d)
5

Description

_Not a bug - more like a feature request and question_

**mapbox-gl-js version**: 0.44.2
**mapbox-gl-draw version**: 1.0.9

When trying to select multiple features, it took me longer than I'd have expected to figure out that I needed to shift+click in order to do so (and same with most of my co workers I've asked to try out the draw tool).

#### What I thought would have worked:

- click
- cmd+click
- ctrl+click

Is there a nice way to manually add any of the above options to `simple_select` mode? Just poking around the source code, I haven't found a way to do so.

Thank you in advance!!
(Not sure if there's a dupe for this ticket - sorry if there is!)

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 reading the simple_select mode and the issue's current selection behavior. Compare click, cmd+click, ctrl+click, and shift+click interactions, then determine which behavior should be supported and how completion can be verified through the selection interaction itself.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.