ReverseConfig
public class ReverseConfig : NSObject
Encapsulates request parameters for reverse geo requests.
-
The point to reverse geocode. This value is required.
Declaration
Swift
public var point: GeoPoint -
The number of results to return. This value is optional and will default to 10 if no value is defined.
Declaration
Swift
public var numberOfResults: Int? -
The boundary country (in ISO-3166 alpha-2 or alpha-3 format) to limit results by. This value is optional and defaults to not restricting results to any country.
Declaration
Swift
public var boundaryCountry: String? -
Sources to fetch data from. This value is optional and defaults to all sources.
Declaration
Swift
public var dataSources: [SearchSource]? -
Layers to fetch sources from. This value is optional and defaults to all sources.
Declaration
Swift
public var layers: [LayerFilter]? -
Initialize a reverse config with all the required parameters.
Declaration
Swift
public init(point: GeoPoint, completionHandler: @escaping (SearchResponse) -> Void)Parameters
pointThe point to reverse geocode.
completionHandlerThe closure to execute when the request suceeds or fails.
View on GitHub
ReverseConfig Class Reference