mapbox / mapbox/mapbox-gl-draw

Combining Markers AND this Draw Control stops all elements on the map from being "coloured in"

Open
#984 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Screenshots

Before Marker was Added

Before Marker added

Afterwards

Does not colour properly
Still works though

mapbox-gl-js version: 1.9.1
mapbox-gl-draw version: 1.1.2

Steps to Trigger Behavior
  1. Setup the map and draw control
  2. Add a marker to the map
  3. Increase or decrease the zoom level
Expected Behavior

Marker not to affect the style of the map nor the style of the editable elements within the draw control.

Actual Behavior

See screenshots above.

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

Reproduce the report using mapbox-gl-js 1.9.1 and mapbox-gl-draw 1.1.2: set up the map and draw control, add a marker, then change the zoom level. Compare the screenshots and verify that adding the marker no longer changes the map or editable draw elements' styling.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.