ReverseGeocoderResponse

public struct ReverseGeocoderResponse

Response of the Reverse Geocoding request.

Lifecycle

  • ReverseGeocoderResponse init method

    Important

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

    Declaration

    Swift

    public init(summary: ReverseGeocoderSummary, places: [PlaceMatch])

    Parameters

    summary

    The summary of the request to the Reverse Geocoding API.

    places

    The places matched for the reverse geocoded location, sorted in descending order by score.

Public

  • Summary information about the performed reverse geocoding.

    Important

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

    Declaration

    Swift

    public struct Summary
  • Contains common attributes of a Reverse Geocoding response.

    Important

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

    Declaration

    Swift

    public let summary: ReverseGeocoderSummary
  • Contains the list of places that were geocoded from a coordinate

    Declaration

    Swift

    public let places: [PlaceMatch]