ReverseGeocoderResponse
public struct ReverseGeocoderResponse
The response returned by the ReverseGeocoder
after a successful reverse geocoding action.
It contains matching places (if any were found) and information about reverse geocoding execution.
-
Creates an instance of
ReverseGeocoderResponse
.Declaration
Swift
public init(summary: Summary, 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.
-
Summary information about the performed reverse geocoding.
See moreDeclaration
Swift
public struct Summary
-
Contains common attributes of a Reverse Geocoding response.
Declaration
Swift
public let summary: Summary
-
Contains the list of places that were geocoded from a coordinate
Declaration
Swift
public let places: [PlaceMatch]