You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Came across a scenario of when I had a DeckGL Scenegraph layer in a Mapbox overlay and then added a new Mapbox layer to the map, the Mapbox layer appeared underneath the DeckGL layer.
Normal Mapbox behaviour would place the most recently added layer to the top of the map.
However I understand this may be intended behaviour however I could not see something in the docs for it, when looking at the beforeId property.
Description
Came across a scenario of when I had a DeckGL Scenegraph layer in a Mapbox overlay and then added a new Mapbox layer to the map, the Mapbox layer appeared underneath the DeckGL layer.
Normal Mapbox behaviour would place the most recently added layer to the top of the map.
However I understand this may be intended behaviour however I could not see something in the docs for it, when looking at the beforeId property.
I created an example here - https://codepen.io/joshnice/pen/LYwOeLy?editors=1000
Flavors
Expected Behavior
The most recent layer to be added to the top of the map.
Steps to Reproduce
Shown in example above.
Environment
Logs
No response
The text was updated successfully, but these errors were encountered: