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

zIndex of the drawing selection

Open erkanisuf opened this issue 2 years ago • 1 comments

Is there a way how to make the drawing shape the highest in layer levels, similar to "z-index" like in css?

erkanisuf avatar Apr 12 '22 16:04 erkanisuf

you can move "z-index" of a layer with the map.moveLayer function and the way mapbox-gl-draw's layer's identifier works is described in the API.md along with some examples

Youllou avatar May 23 '22 11:05 Youllou