LocationSpecification
public struct LocationSpecification
This is how we specify the location for searches.
- coords: A lat/long coordinate (in degrees) of the location
- radiusInKm: A distance within which the search will be performed.
- autoRadiusThreshold: An optional field with a minimum number of results.
-
A lat/long coordinate (in degrees) of the location.
Declaration
Swift
public var coords: CLLocationCoordinate2D -
A distance (in Kilometers) within which the search will be performed.
Declaration
Swift
public var radiusInKm: CLLocationDistance -
An optional field with a minimum number of results.
Declaration
Swift
public var autoRadiusThreshold: Int? -
Default Initializer.
Declaration
Swift
public init(coords inCoords: CLLocationCoordinate2D, radiusInKm inRadiusInKm: CLLocationDistance, autoRadiusThreshold inAutoRadiusThreshold: Int?)Parameters
coordsA lat/long coordinate (in degrees) of the location.
radiusInKmA distance (in Kilometers) within which the search will be performed.
autoRadiusThresholdAn optional field with a minimum number of results.
View on GitHub
LocationSpecification Structure Reference