Skip to content

Commit f193436

Browse files
authored
Google API Key is not optional anymore (chadly#152)
As referring to following issue, updated README chadly#144
1 parent 801fcdc commit f193436

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Install-Package Geocoding.Here
3838
### Simple Example
3939

4040
```csharp
41-
IGeocoder geocoder = new GoogleGeocoder() { ApiKey = "this-is-my-optional-google-api-key" };
41+
IGeocoder geocoder = new GoogleGeocoder() { ApiKey = "this-is-my-google-api-key" };
4242
IEnumerable<Address> addresses = await geocoder.GeocodeAsync("1600 pennsylvania ave washington dc");
4343
Console.WriteLine("Formatted: " + addresses.First().FormattedAddress); //Formatted: 1600 Pennsylvania Ave SE, Washington, DC 20003, USA
4444
Console.WriteLine("Coordinates: " + addresses.First().Coordinates.Latitude + ", " + addresses.First().Coordinates.Longitude); //Coordinates: 38.8791981, -76.9818437

0 commit comments

Comments
 (0)