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.
-
Declaration
Swift
public var id: String -
Declaration
Swift
public var 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? -
Layer layout properties are applied early in the rendering process and define how data for that layer is passed to the GPU. Changes to a layout property require an asynchronous “layout” step.
Declaration
Swift
public var layout: HillshadeLayer.Layout? -
Undocumented
See moreDeclaration
Swift
public struct Layout : Codable -
Changes to a paint property are cheap and happen synchronously.
Declaration
Swift
public var paint: HillshadeLayer.Paint? -
Undocumented
See moreDeclaration
Swift
public struct Paint : Codable -
Undocumented
Declaration
Swift
public init(id: String)
HillshadeLayer Structure Reference