TextPitchAlignment

public struct TextPitchAlignment : RawRepresentable, Codable, Hashable

Orientation of text when map is pitched.

  • Declaration

    Swift

    public let rawValue: String
  • Declaration

    Swift

    public init(rawValue: String)
  • map

    The text is aligned to the plane of the map.

    Declaration

    Swift

    public static let map: TextPitchAlignment
  • The text is aligned to the plane of the viewport.

    Declaration

    Swift

    public static let viewport: TextPitchAlignment
  • Automatically matches the value of {@link TEXT_ROTATION_ALIGNMENT}.

    Declaration

    Swift

    public static let auto: TextPitchAlignment