Layer.moveBefore

Function/Meaning

Move to the front of the specified layer

Type
Layerclassmethod of
Syntax
moveBefore(layer)
Arguments
layer

Moves to the front of the layer specified here.
Only sibling layers (layers with the same parent) can be specified.

Return value
None (void)
Explanation

Moves to the front of the specified layer in the overlay order.
This method sets the Layer.absoluteOrderMode property to false.