Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Commit 4d91592

Browse files
jamesmanningchadly
authored andcommitted
update example output to match current return (#54)
- the current example output has 2 typos (misspelling Pennsylvania, wrong apostrophe location in President's) and the wrong zip, so just ran the code and pasted the output into the editor for README.md
1 parent 0d516e0 commit 4d91592

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ Or download the [latest release](https://github.com/chadly/Geocoding.net/release
3131
```csharp
3232
IGeocoder geocoder = new GoogleGeocoder() { ApiKey = "this-is-my-optional-google-api-key" };
3333
IEnumerable<Address> addresses = geocoder.Geocode("1600 pennsylvania ave washington dc");
34-
Console.WriteLine("Formatted: " + addresses.First().FormattedAddress); //Formatted: 1600 Pennslyvania Avenue Northwest, Presiden'ts Park, Washington, DC 20500, USA
35-
Console.WriteLine("Coordinates: " + addresses.First().Coordinates.Latitude + ", " + addresses.First().Coordinates.Longitude); //Coordinates: 38.8978378, -77.0365123
34+
Console.WriteLine("Formatted: " + addresses.First().FormattedAddress); //Formatted: 1600 Pennsylvania Ave SE, Washington, DC 20003, USA
35+
Console.WriteLine("Coordinates: " + addresses.First().Coordinates.Latitude + ", " + addresses.First().Coordinates.Longitude); //Coordinates: 38.8791981, -76.9818437
3636
```
3737

3838
It can also be used to return address information from latitude/longitude coordinates (aka reverse geocoding):

0 commit comments

Comments
 (0)