public struct Location {

  public var name: String
  public var latitude: Float?
  public var longitude: Float?

  public init(name: String, latitude: Float, longitude: Float) {
    self.name = name
    self.latitude = latitude
    self.longitude = longitude
  }

}

public struct Location {

  public var name: String

  public init(name: String) {
    self.name = name
  }

}

--- 
+++ 
@@ -1,9 +1,13 @@
 public struct Location {
 
   public var name: String
+  public var latitude: Float?
+  public var longitude: Float?
 
-  public init(name: String) {
+  public init(name: String, latitude: Float, longitude: Float) {
     self.name = name
+    self.latitude = latitude
+    self.longitude = longitude
   }
 
 }
Add latitude and longitude to location
