Returns the zero-based position of this layer in the layer stack.
The root layer has an index of 0, its child overlay has an index of 1, and so on.
0
1
This property has no defined behavior for closed layers.
index