Move layerId below the basemap's labels, or below an explicit layer.
Parameters
map: Map$1
The map the layer belongs to.
layerId: string
The layer to reposition.
beforeId: string|undefined
Explicit target to sit below. Takes precedence over underLabels.
underLabels: boolean|undefined
Sit below the lowest symbol layer, resolved from the live style.
Returns void
Nothing.
Remarks
No-op when neither is requested, when the target cannot be resolved, or when the style
has no symbol layers (a plain imagery basemap). Failing quietly is the right behaviour:
a label-ordering preference should never stop a layer from rendering.
Move
layerIdbelow the basemap's labels, or below an explicit layer.