GoogleMapsClient 1.1.7
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Framework 4.6.2
This package targets .NET Framework 4.6.2. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package GoogleMapsClient --version 1.1.7
NuGet\Install-Package GoogleMapsClient -Version 1.1.7
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.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GoogleMapsClient --version 1.1.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GoogleMapsClient, 1.1.7"
#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.
// Install GoogleMapsClient as a Cake Addin #addin nuget:?package=GoogleMapsClient&version=1.1.7 // Install GoogleMapsClient as a Cake Tool #tool nuget:?package=GoogleMapsClient&version=1.1.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
GoogleMapsClient
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.
New in v1.1.0
- Retarget to include .NET 6.0, .NET 7.0
- Async APIs
- Minor breaking changes (including
GoogleMapsAddress
,GoogleMapsCoordinates
,GoogleMapsTimestamp
return object)
Help and Feedback
First things first - do you need help or have feedback? File an issue here!
Example
using GoogleMapsClient;
GoogleMaps client = new GoogleMaps("[your API key here]");
GoogleMapsAddress addr;
GoogleMapsTimestamp ts;
// Get details about coordinates
addr = client.QueryCoordinates(37.4220578, -122.0840897);
addr = await client.QueryCoordinatesAsync(37.4220578, -122.0840897);
// Get details about an address
addr = client.QueryAddress("1600 Amphitheatre Pkwy Mountain View CA");
addr = await client.QueryAddressAsync("1600 Amphitheatre Pkwy Mountain View CA");
// Get timestamp for coordinates
ts = client.LocalTimestamp(37.4220578, -122.0840897, DateTime.Now);
ts = await client.LocalTimestampAsync(37.4220578, -122.0840897, DateTime.Now);
// Get timestamp for address
ts = client.LocalTimestamp("1600 Amphitheatre Pkwy Mountain View CA", DateTime.Now);
ts = await client.LocalTimestampAsync("1600 Amphitheatre Pkwy Mountain View CA", DateTime.Now);
Version History
Refer to CHANGELOG.md for version history.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.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.
-
.NETFramework 4.6.2
- RestWrapper (>= 3.0.11)
- System.Text.Json (>= 7.0.3)
-
.NETFramework 4.7.2
- RestWrapper (>= 3.0.11)
- System.Text.Json (>= 7.0.3)
-
.NETFramework 4.8
- RestWrapper (>= 3.0.11)
- System.Text.Json (>= 7.0.3)
-
net6.0
- RestWrapper (>= 3.0.11)
- System.Text.Json (>= 7.0.3)
-
net7.0
- RestWrapper (>= 3.0.11)
- System.Text.Json (>= 7.0.3)
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.14 | 1,129 | 11/27/2023 |
1.1.13 | 103 | 11/25/2023 |
1.1.12 | 286 | 10/21/2023 |
1.1.10 | 140 | 10/21/2023 |
1.1.9 | 146 | 10/20/2023 |
1.1.8 | 126 | 10/20/2023 |
1.1.7 | 149 | 10/20/2023 |
1.1.6 | 201 | 10/11/2023 |
1.1.5 | 152 | 10/6/2023 |
1.1.4 | 114 | 10/6/2023 |
1.1.3 | 112 | 10/6/2023 |
1.1.2 | 131 | 10/6/2023 |
1.1.1 | 127 | 10/6/2023 |
1.1.0 | 399 | 9/14/2023 |
1.0.3 | 158 | 9/14/2023 |
1.0.2 | 126 | 9/14/2023 |
1.0.1.1 | 14,890 | 11/12/2021 |
1.0.1 | 22,590 | 8/12/2020 |
1.0.0 | 474 | 8/12/2020 |
Dependency changes, retarget