Projection

public struct Projection : Encodable

Undocumented

  • Sets the projection type.

    See more

    Declaration

    Swift

    public enum Geo.Projection.`Type` : String, Encodable
  • Sets the projection type.

    Declaration

    Swift

    public var type: Type?
  • Undocumented

    See more

    Declaration

    Swift

    public struct Rotation : Encodable
  • Undocumented

    Declaration

    Swift

    public var rotation: Rotation?
  • For conic projection types only.

    Sets the parallels (tangent, secant) where the cone intersects the sphere.

    Declaration

    Swift

    public var parallels: InfoArray?
  • Zooms in or out on the map view.

    A scale of 1 corresponds to the largest zoom level that fits the map’s lon and lat ranges.

    Declaration

    Swift

    public var scale: Double?
  • Creates Projection object with specified properties.

    Declaration

    Swift

    public init(type: `Type`? = nil, rotation: Rotation? = nil, parallels: InfoArray? = nil, scale:
            Double? = nil)

    Parameters

    type

    Sets the projection type.

    rotation

    parallels

    For conic projection types only.

    scale

    Zooms in or out on the map view.