GoogleMapsClient 1.1.15

dotnet add package GoogleMapsClient --version 1.1.15
                    
NuGet\Install-Package GoogleMapsClient -Version 1.1.15
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GoogleMapsClient" Version="1.1.15" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GoogleMapsClient" Version="1.1.15" />
                    
Directory.Packages.props
<PackageReference Include="GoogleMapsClient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GoogleMapsClient --version 1.1.15
                    
#r "nuget: GoogleMapsClient, 1.1.15"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package GoogleMapsClient@1.1.15
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GoogleMapsClient&version=1.1.15
                    
Install as a Cake Addin
#tool nuget:?package=GoogleMapsClient&version=1.1.15
                    
Install as a Cake Tool

GoogleMapsClient

alt tag

I needed a simple way to parse addresses and resolve coordinates to an address. Plug in a Google Maps API key and you're all set.

Special thanks to @jorgeaponte and the community for helping improve this library!

New in v1.1.15

  • Implemented IDisposable pattern on GoogleMaps class
  • Removed use of var and anonymous types
  • Added ConfigureAwait(false) to all awaited calls

Help and Feedback

First things first - do you need help or have feedback? File an issue here!

Example

using GoogleMapsClient;

using (GoogleMaps client = new GoogleMaps("[your API key here]"))
{
    GoogleMapsAddress addr;
    GoogleMapsTimestamp ts;

    // Get details about coordinates
    addr = await client.QueryCoordinatesAsync(37.4220578, -122.0840897);

    // Get details about an address
    addr = await client.QueryAddressAsync("1600 Amphitheatre Pkwy Mountain View CA");

    // Get timestamp for coordinates
    ts = await client.LocalTimestampAsync(37.4220578, -122.0840897, DateTime.Now);

    // Get timestamp for address
    ts = await client.LocalTimestampAsync("1600 Amphitheatre Pkwy Mountain View CA", DateTime.Now);
}

Version History

Refer to CHANGELOG.md for version history.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.15 43 1/12/2026
1.1.14 4,016 11/27/2023
1.1.13 194 11/25/2023
1.1.12 378 10/21/2023
1.1.10 235 10/21/2023
1.1.9 239 10/20/2023
1.1.8 221 10/20/2023
1.1.7 255 10/20/2023
1.1.6 304 10/11/2023
1.1.5 246 10/6/2023
1.1.4 210 10/6/2023
1.1.3 213 10/6/2023
1.1.2 234 10/6/2023
1.1.1 218 10/6/2023
1.1.0 503 9/14/2023
1.0.3 273 9/14/2023
1.0.2 214 9/14/2023
1.0.1.1 15,082 11/12/2021
1.0.1 23,274 8/12/2020
1.0.0 680 8/12/2020

Dependency changes, retarget