TNLocation

@objcMembers
public class TNLocation : NSObject, Codable

Location information.

  • lat

    latitude

    Declaration

    Swift

    public let lat: Double
  • lon

    longitude

    Declaration

    Swift

    public let lon: Double
  • The name of location.

    Declaration

    Swift

    public let label: String?
  • The time of location.

    Declaration

    Swift

    public let time: Date?
  • The GPS source flag

    Declaration

    Swift

    public let isRaw: Bool?
  • The map matched latitude.

    Declaration

    Swift

    public let mapMatchedLat: Double?
  • The map matched longitude.

    Declaration

    Swift

    public let mapMatchedLon: Double?
  • The map matched heading.

    Declaration

    Swift

    public let mapMatchedHeading: Double?
  • The map match status.

    Declaration

    Swift

    public let mapMatchedStatus: String?
  • Undocumented

    Declaration

    Swift

    public init(lat: Double, lon: Double, label: String? = nil, time: Date? = nil, isRawGps: Bool? = nil, mmLat: Double? = nil, mmLon: Double? = nil, mmHeading: Double? = nil, mmStatus: String? = nil)
  • Undocumented

    Declaration

    Swift

    public convenience init(with location: CLLocation)
  • Undocumented

    Declaration

    Swift

    @objc
    public var isRawGps: NSNumber? { get }
  • Undocumented

    Declaration

    Swift

    @objc
    public var mmLat: NSNumber? { get }
  • Undocumented

    Declaration

    Swift

    @objc
    public var mmLon: NSNumber? { get }
  • Undocumented

    Declaration

    Swift

    @objc
    public var mmHeading: NSNumber? { get }
  • Undocumented

    Declaration

    Swift

    @objc
    public var mmStatus: String? { get }