RasterLayer
public struct RasterLayer : Layer
Raster map textures such as satellite imagery.
See also
Mapbox Style Specification-
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>?
-
Increase or reduce the brightness of the image. The value is the maximum brightness.
Declaration
Swift
public var rasterBrightnessMax: Value<Double>?
-
Transition options for
rasterBrightnessMax
.Declaration
Swift
public var rasterBrightnessMaxTransition: StyleTransition?
-
Increase or reduce the brightness of the image. The value is the minimum brightness.
Declaration
Swift
public var rasterBrightnessMin: Value<Double>?
-
Transition options for
rasterBrightnessMin
.Declaration
Swift
public var rasterBrightnessMinTransition: StyleTransition?
-
Increase or reduce the contrast of the image.
Declaration
Swift
public var rasterContrast: Value<Double>?
-
Transition options for
rasterContrast
.Declaration
Swift
public var rasterContrastTransition: StyleTransition?
-
Fade duration when a new tile is added.
Declaration
Swift
public var rasterFadeDuration: Value<Double>?
-
Rotates hues around the color wheel.
Declaration
Swift
public var rasterHueRotate: Value<Double>?
-
Transition options for
rasterHueRotate
.Declaration
Swift
public var rasterHueRotateTransition: StyleTransition?
-
The opacity at which the image will be drawn.
Declaration
Swift
public var rasterOpacity: Value<Double>?
-
Transition options for
rasterOpacity
.Declaration
Swift
public var rasterOpacityTransition: StyleTransition?
-
The resampling/interpolation method to use for overscaling, also known as texture magnification filter
Declaration
Swift
public var rasterResampling: Value<RasterResampling>?
-
Increase or reduce the saturation of the image.
Declaration
Swift
public var rasterSaturation: Value<Double>?
-
Transition options for
rasterSaturation
.Declaration
Swift
public var rasterSaturationTransition: 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