/// <summary> /// Performs a reverse geocode lookup based on the location with the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the request to the API.</param> /// <returns>An instance of <see cref="IHttpResponse"/> representing the raw response.</returns> /// <see> /// <cref>https://developers.google.com/maps/documentation/geocoding/overview#ReverseGeocoding</cref> /// </see> public IHttpResponse ReverseGeocode(GeocodingReverseGeocodeOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Client.GetResponse(options)); }
/// <summary> /// Performs a reverse geocode lookup based on the location with the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the request to the API.</param> /// <returns>An instance of <see cref="GeocodingResultListResponse"/> representing the response.</returns> /// <see> /// <cref>https://developers.google.com/maps/documentation/geocoding/overview#ReverseGeocoding</cref> /// </see> public GeocodingResultListResponse ReverseGeocode(GeocodingReverseGeocodeOptions options) { return(new GeocodingResultListResponse(Client.ReverseGeocode(options))); }