mapbox-gl-draw
mapbox-gl-draw copied to clipboard
Combining Markers AND this Draw Control stops all elements on the map from being "coloured in"
Screenshots
Before Marker was Added
Afterwards
mapbox-gl-js version: 1.9.1 mapbox-gl-draw version: 1.1.2
Steps to Trigger Behavior
- Setup the map and draw control
- Add a marker to the map
- 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.
Is anyone monitoring these tickets please?
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, Marker
s are DOM elements rather than layers on the map, and Draw operates by adding layers to the map itself.
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!