/// <summary> /// Sends the specified request to the Google Maps Geocoding web /// service and parses the response as an GeocodingResponse /// object. /// </summary> /// <param name="request"></param> /// <returns></returns> public static GeocodingResponse GetResponse(GeocodingRequest request) { var url = new Uri(ApiUrl, request.ToUri()); return Http.Get(url).As<GeocodingResponse>(); }
/// <summary> /// Sends the specified request to the Google Maps Geocoding web /// service and parses the response as an GeocodingResponse /// object. /// </summary> /// <param name="request"></param> /// <returns></returns> public static GeocodingResponse GetResponse(GeocodingRequest request) { var url = new Uri(ApiUrl, request.ToUri()); return(Http.Get(url).As <GeocodingResponse>()); }