       "types": placeType.description,
       "key": apiKey ?? ""
     ]
-    
+
     if let bias = locationBias {
       params["location"] = bias.location
       params["radius"] = bias.radius.description
     }
-    
+
     GooglePlacesRequestHelpers.doRequest(
       "https://maps.googleapis.com/maps/api/place/autocomplete/json",
       params: params

  public let latitude: Double
  public let longitude: Double
  public let radius: Int
  
  public init(latitude: Double = 0, longitude: Double = 0, radius: Int = 20000000) {
    self.latitude = latitude
    self.longitude = longitude
    self.radius = radius
  }
  
  public var location: String {
    return "\(latitude),\(longitude)"
  }

@objc public protocol GooglePlacesAutocompleteDelegate {
  optional func placesFound(places: [Place])
  optional func placeSelected(place: Place)
  optional func placeViewClosed(text: String?)
}

// MARK: - GooglePlacesAutocomplete
