GeoLocation

public struct GeoLocation
extension GeoLocation: Equatable

GeoLocation is a wrapper for CLLocation class.

Important

This is a Public Preview API. It may be changed or removed at any time.

Public

  • A CLLocation object contains the geographical location and altitude of a device, along with values indicating the accuracy of those measurements and when they were collected.

    Declaration

    Swift

    public let location: CLLocation
  • Compass angle the object is pointing to from the current location. Or nil if not available.

    Declaration

    Swift

    public let heading: Double?
  • The source that provides the location.

    Declaration

    Swift

    public let providerType: LocationEngineProviderType
  • Indicates if GPS is fixed or not.

    Declaration

    Swift

    public let gpsStatus: GPSStatus
  • The time in milliseconds associated with the location.

    Declaration

    Swift

    public let timestamp: Date

Equatable

  • Declaration

    Swift

    public static func == (lhs: GeoLocation, rhs: GeoLocation) -> Bool