public async Task<GeoCodeResult> GetGeoCodeResult(Address address, int maxResults = 1) { return await GetGeoCodeResult(address.addressLine, address.locality, address.adminDistrict, address.postalCode, address.countryRegion, maxResults); }
public async Task<Tuple<double, double>> GetCoordinate(Address address, int maxResults = 1) { var result = await GetGeoCodeResult(address, maxResults); return result.GetFirstCoordinate(); }