public enum TKLocationProvider
public enum Error : Swift.Error
Fetches locations that are within the provided circle
The observable can error out in cases where the circle is outside supported regions, or where the server could not be reached or returned an error.
public static func fetchLocations(center: CLLocationCoordinate2D, radius: CLLocationDistance, limit: Int = 100, modes: [String]? = nil, strictModeMatch: Bool = true) -> Single<[TKModeCoordinate]>
Centre coordinate of circle
Radius of circle in metres
Maximum number of locations to fetch, defaults to 100
Modes for which to fetch locations. If not provided, will use all.
modesbe treated strictly, or should related results also be returned?
Observable of fetched locations; always returns empty array for international region; can error out