mapbox-gl-draw icon indicating copy to clipboard operation
mapbox-gl-draw copied to clipboard

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

Open tommed opened this issue 4 years ago • 3 comments

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.

tommed avatar May 07 '20 13:05 tommed

Is anyone monitoring these tickets please?

tommed avatar May 18 '20 14:05 tommed

Hi @tommed , thanks for opening this ticket. Would you be able to share a minimal code sample reproducing this issue, demonstrating how you are adding the marker? The default point control offered by Draw out-of-the-box adds a "dot" (as a symbol layer) to the map, whereas your screenshot adds a Marker, so it's not clear how this issue is related to default Draw functionality. Perhaps you are using a custom mode? Additionally, Markers are DOM elements rather than layers on the map, and Draw operates by adding layers to the map itself.

adrianababakanian avatar Jul 07 '20 21:07 adrianababakanian

Hi @tommed Following up on this issue. Were you able to find a solution to your problem? This issue tracker is focused on bug reports and feature requests, so although we’re glad to point you in the right direction we can’t offer general support in this channel. For “how to” questions like this, I suggest contacting Mapbox Support. Thanks!

avpeery avatar Sep 21 '21 20:09 avpeery