HillshadeLayer
public struct HillshadeLayer : Layer
Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.
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>? -
The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
Declaration
Swift
public var hillshadeAccentColor: Value<StyleColor>? -
Transition options for
hillshadeAccentColor.Declaration
Swift
public var hillshadeAccentColorTransition: StyleTransition? -
Intensity of the hillshade
Declaration
Swift
public var hillshadeExaggeration: Value<Double>? -
Transition options for
hillshadeExaggeration.Declaration
Swift
public var hillshadeExaggerationTransition: StyleTransition? -
The shading color of areas that faces towards the light source.
Declaration
Swift
public var hillshadeHighlightColor: Value<StyleColor>? -
Transition options for
hillshadeHighlightColor.Declaration
Swift
public var hillshadeHighlightColorTransition: StyleTransition? -
Direction of light source when map is rotated.
Declaration
Swift
public var hillshadeIlluminationAnchor: Value<HillshadeIlluminationAnchor>? -
The direction of the light source used to generate the hillshading with 0 as the top of the viewport if
hillshade-illumination-anchoris set toviewportand due north ifhillshade-illumination-anchoris set tomap.Declaration
Swift
public var hillshadeIlluminationDirection: Value<Double>? -
The shading color of areas that face away from the light source.
Declaration
Swift
public var hillshadeShadowColor: Value<StyleColor>? -
Transition options for
hillshadeShadowColor.Declaration
Swift
public var hillshadeShadowColorTransition: 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
HillshadeLayer Structure Reference