-
Declaration
Swift
public var id: String
-
Declaration
Swift
public let type: LayerType
-
Declaration
Swift
public var filter: Expression?
-
Declaration
Swift
public var source: String?
-
Declaration
Swift
public var sourceLayer: String?
-
Declaration
Swift
public var minZoom: Double?
-
Declaration
Swift
public var maxZoom: Double?
-
Whether this layer is displayed.
Declaration
Swift
public var visibility: Value<Visibility>?
-
The color with which the background will be drawn.
Declaration
Swift
public var backgroundColor: Value<StyleColor>?
-
Transition options for
backgroundColor
.Declaration
Swift
public var backgroundColorTransition: StyleTransition?
-
The opacity at which the background will be drawn.
Declaration
Swift
public var backgroundOpacity: Value<Double>?
-
Transition options for
backgroundOpacity
.Declaration
Swift
public var backgroundOpacityTransition: StyleTransition?
-
Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, …, 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.
Declaration
Swift
public var backgroundPattern: Value<ResolvedImage>?
-
Transition options for
backgroundPattern
.Declaration
Swift
public var backgroundPatternTransition: StyleTransition?
-
Undocumented
Declaration
Swift
public init(id: String)
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public init(from decoder: Decoder) throws