ReverseGeocoder
public protocol ReverseGeocoder
Translates coordinates into a human-readable format
-
Reverse Geocoding API gives users a tool to translate a coordinate (for example: 37.786505, -122.3862) into a human-understandable street address, street element, or geography.
Declaration
Swift
func reverseGeocode(options: ReverseGeocoderOptions, completion: @escaping (Result<ReverseGeocoderResponse, Error>) -> ())
Parameters
options
completion
Parameter completion: The completion closure is called after the response to the request has been processed. If no errors occurred,
ReverseGeocoderResponse
contains an array of categories and subcategories together with their translations and synonyms.