ReverseGeocodeQuery
public class ReverseGeocodeQuery : Encodable, DadataQueryProtocol
ReverseGeocodeQuery represents an serializable object used to perform reverse geocode queries.
-
Undocumented
Declaration
Swift
public var resultsCount: Int? -
Undocumented
Declaration
Swift
public var language: QueryResultLanguage? -
Undocumented
Declaration
Swift
public var searchRadius: Int? -
New instance of ReverseGeocodeQuery.
Throws
May throw if parsing of latitude and longitude out of query fails.Declaration
Swift
public convenience init(query: String, delimeter: Character = ",") throwsParameters
queryQuery should contain latitude and longitude of the point of interest.
delimeterSingle character delimeter to separate latitude and longitude.
-
New instance of ReverseGeocodeQuery.
Declaration
Swift
public required init(latitude: Double, longitude: Double)Parameters
latitudeLatitude of the point of interest.
longitudeLongitude of the point of interest.
ReverseGeocodeQuery Class Reference