GeoPoint

public final class GeoPoint : Object
extension GeoPoint: Encodable
extension GeoPoint: Decodable
extension GeoPoint: Mappable

Class that represents a 2D geolocation with latitude and longitude

  • Undocumented

    Declaration

    Swift

    public static let CodingKey: String
  • Specifies the north–south position of a point

    Declaration

    Swift

    @objc
    public dynamic var latitude: CLLocationDegrees
  • Specifies the east-west position of a point

    Declaration

    Swift

    @objc
    public dynamic var longitude: CLLocationDegrees
  • Constructor that takes CLLocationDegrees (Double) values for latitude and longitude

    Declaration

    Swift

    public convenience init(
        latitude: CLLocationDegrees,
        longitude: CLLocationDegrees
    )
  • Constructor that takes a CLLocationCoordinate2D

    Declaration

    Swift

    public convenience init(coordinate: CLLocationCoordinate2D)
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Declaration

    Swift

    public convenience init(from decoder: Decoder) throws
  • Declaration

    Swift

    public convenience init?(map: Map)
  • Declaration

    Swift

    public func mapping(map: Map)