Anchor

public struct Anchor : RawRepresentable, Codable, Hashable

Whether extruded geometries are lit relative to the map or viewport.

  • Declaration

    Swift

    public let rawValue: String
  • Declaration

    Swift

    public init(rawValue: String)
  • map

    The position of the light source is aligned to the rotation of the map.

    Declaration

    Swift

    public static let map: Anchor
  • The position of the light source is aligned to the rotation of the viewport.

    Declaration

    Swift

    public static let viewport: Anchor