|
|
@ -5,10 +5,12 @@ public struct LocationData: Codable { |
|
|
public let latitude: Double |
|
|
public let latitude: Double |
|
|
public let longitude: Double |
|
|
public let longitude: Double |
|
|
public let timestamp: TimeInterval |
|
|
public let timestamp: TimeInterval |
|
|
|
|
|
public let latitudeandlongitude: String |
|
|
|
|
|
|
|
|
public init(latitude: Double, longitude: Double,timestamp: TimeInterval) { |
|
|
public init(latitude: Double, longitude: Double,timestamp: TimeInterval) { |
|
|
self.latitude = latitude |
|
|
self.latitude = latitude |
|
|
self.longitude = longitude |
|
|
self.longitude = longitude |
|
|
self.timestamp = timestamp |
|
|
self.timestamp = timestamp |
|
|
|
|
|
self.latitudeandlongitude = "\(latitude),\(longitude)" |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|