Location

public final class Location: NSObject

Geographical position described by latitude and longitude coordinates.

  • Latitude coordinate. Can take value from -90.0 to 90.0.

    Declaration

    Swift

    public var latitude: Double
  • Longitude coordinate. Can take value from -180.0 to 180.0.

    Declaration

    Swift

    public var longtitude: Double
  • Instantiates new Location object with longitude and longitude.

    Declaration

    Swift

    public init(latitude: Double, longtitude: Double)
  • Creates a copy of Location object.

    Declaration

    Swift

    public override func copy() -> Any