The map layers object has a below field that is described as follows:
Determines if the layer will be inserted before the layer with the specified ID. If omitted or set to ‘’, the layer will be inserted above every existing layer.
I cannot find how the ID mentioned here can be determined? From the docs I know “traces” is an option, but how do you set the sequence when you have multiple raster layers?
In this pen, the sequence is OK, but when I add additional traces, the tiles are re-fetched for each JS event. So I’m wondering whether I should use the “below” field differently.