-
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>?
-
Model to render.
Declaration
Swift
public var modelId: Value<String>?
-
The tint color of the model layer. model-color-mix-intensity (defaults to 0) defines tint(mix) intensity - this means that, this color is not used unless model-color-mix-intensity gets value greater than 0.
Declaration
Swift
public var modelColor: Value<StyleColor>?
-
Transition options for
modelColor
.Declaration
Swift
public var modelColorTransition: StyleTransition?
-
Intensity of model-color (on a scale from 0 to 1) in color mix with original 3D model’s colors. Higher number will present a higher model-color contribution in mix.
Declaration
Swift
public var modelColorMixIntensity: Value<Double>?
-
Transition options for
modelColorMixIntensity
.Declaration
Swift
public var modelColorMixIntensityTransition: StyleTransition?
-
The opacity of the model layer.
Declaration
Swift
public var modelOpacity: Value<Double>?
-
Transition options for
modelOpacity
.Declaration
Swift
public var modelOpacityTransition: StyleTransition?
-
The rotation of the model in euler angles [lon, lat, z].
Declaration
Swift
public var modelRotation: Value<[Double]>?
-
Transition options for
modelRotation
.Declaration
Swift
public var modelRotationTransition: StyleTransition?
-
The scale of the model.
Declaration
Swift
public var modelScale: Value<[Double]>?
-
Transition options for
modelScale
.Declaration
Swift
public var modelScaleTransition: StyleTransition?
-
The translation of the model in meters in form of [longitudal, latitudal, altitude] offsets.
Declaration
Swift
public var modelTranslation: Value<[Double]>?
-
Transition options for
modelTranslation
.Declaration
Swift
public var modelTranslationTransition: 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