How to set the draw option to be inactive by default
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
**mapbox-gl-js version** : 2.12.0
**mapbox-gl-draw version** : 1.4.0
### Question
If you look below the draw option **is active** by default . I want to know how to set it to **inactive by default** when the map first renders?

### Links to related documentation
https://github.com/mapbox/mapbox-gl-draw
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 linked mapbox-gl-draw repository and its documentation, then compare the question with the Mapbox GL JS help documentation. Determine whether guidance is missing for making the draw control inactive when the map first renders. Done means the relevant documentation clearly explains the supported configuration, with an example if the project’s documentation style calls for one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation, web-dev
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100