public async Task <IEnumerable <Address> > ReverseGeocodeAsync(Location location) { if (location == null) { throw new ArgumentNullException("location"); } var f = new ReverseGeocodeRequest(key, location) { UseOSM = this.UseOSM }; MapQuestResponse res = await Execute(f).ConfigureAwait(false); return(HandleSingleResponse(res)); }
public IEnumerable <Address> ReverseGeocode(Location location) { if (location == null) { throw new ArgumentNullException("location"); } var f = new ReverseGeocodeRequest(key, location) { UseOSM = this.UseOSM }; MapQuestResponse res = Execute(f); return(HandleSingleResponse(res)); }
public IEnumerable<Address> ReverseGeocode(Location location) { if (location == null) throw new ArgumentNullException ("location"); var f = new ReverseGeocodeRequest(key, location) { UseOSM = this.UseOSM }; MapQuestResponse res = Execute(f); return HandleSingleResponse(res); }