Rotation

public struct Rotation : Encodable

Undocumented

  • Rotates the map along parallels (in degrees East).

    Defaults to the center of the lonaxis.range values.

    Declaration

    Swift

    public var longitude: Double?
  • Rotates the map along meridians (in degrees North).

    Declaration

    Swift

    public var latitude: Double?
  • Roll the map (in degrees) For example, a roll of 180 makes the map appear upside down.

    Declaration

    Swift

    public var roll: Double?
  • Creates Rotation object with specified properties.

    Declaration

    Swift

    public init(longitude: Double? = nil, latitude: Double? = nil, roll: Double? = nil)

    Parameters

    longitude

    Rotates the map along parallels (in degrees East).

    latitude

    Rotates the map along meridians (in degrees North).

    roll

    Roll the map (in degrees) For example, a roll of 180 makes the map appear upside down.