LayerPosition
public enum LayerPosition : Equatable
Specifies the position at which a layer will be added when using
Style.addLayer
.
-
Default behavior; add to the top of the layers stack.
Declaration
Swift
case `default`
-
Layer should be positioned above the specified layer id.
Declaration
Swift
case above(String)
-
Layer should be positioned below the specified layer id.
Declaration
Swift
case below(String)
-
Layer should be positioned at the specified index in the layers stack.
Declaration
Swift
case at(Int)