ReverseGeocoder

public protocol ReverseGeocoder

Translates coordinates into a human-readable format

Important

This is a Public Preview API. It may be changed or removed at any time.
  • 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.

    Important

    This is a Public Preview API. It may be changed or removed at any time.

    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.