Terrain

public struct Terrain : Codable

The global terrain source.

See the Mapbox Style Specification for more information.

  • Undocumented

    Declaration

    Swift

    public var source: String
  • Undocumented

    Declaration

    Swift

    public init(sourceId: String)
  • Exaggerates the elevation of the terrain by multiplying the data from the DEM with this value.

    Declaration

    Swift

    public var exaggeration: Value<Double>?