mapbox / mapbox/mapbox-gl-draw
Suggestions for free hand drawing tools
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 612
- Avg merge
- 8d 9h
- Merged PRs (30d)
- 5
Description
Hi,
I'm not a programmer, just someone that would like to use mapbox to teach geography and history live, using mapbox as a blackboard.
For this, the plan is to have access to cool set of drawing tools.
This is why i feel very proud and hopeful of this kind of deep technical work you're undergoing!
Ideally, as a feedback from a layman, i would hope to have a few types of freehand drawing:
-Marker style, with opacity and thickness options, in which strokes applied over each other make the color more opaque
Like https://www.scribblemaps.com/create does it
-Highlighter style, with opacity and thickness options, in which a stroke overriding an earlier one doesn't tint the area more (so you don't ruin the coloring of an area just because you left a small gap undrawn)
-A fill in button with intensity parameter, like in traditional drawing programs.
-The already present freehand polygon is also cool! Maybe an option of modifying the shape of its vertices after the polygon is placed would be nice too, in maybe the color andthickness of the border too.
-Advanced tool: LAMPS. Is it possible to tinker with the atmospheric light of programs such as mapbox, so as that one can place light sources, like in a videogame engine like unity? I have no idea but i still write the idea here just in case.
Thank you for listening!
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
The issue names no files or tests; start by reviewing the existing freehand polygon tool in mapbox-gl-draw and how drawing tools are organized. Determine whether the requested marker, highlighter, fill, polygon editing, and lighting features are feasible and define a narrower scope before implementation.
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
- 25/100