Geo.MapQuest
2.0.0-alpha.6
See the version list below for details.
dotnet add package Geo.MapQuest --version 2.0.0-alpha.6
NuGet\Install-Package Geo.MapQuest -Version 2.0.0-alpha.6
<PackageReference Include="Geo.MapQuest" Version="2.0.0-alpha.6" />
paket add Geo.MapQuest --version 2.0.0-alpha.6
#r "nuget: Geo.MapQuest, 2.0.0-alpha.6"
// Install Geo.MapQuest as a Cake Addin #addin nuget:?package=Geo.MapQuest&version=2.0.0-alpha.6&prerelease // Install Geo.MapQuest as a Cake Tool #tool nuget:?package=Geo.MapQuest&version=2.0.0-alpha.6&prerelease
MapQuest Geocoding
This allows the simple calling of MapQuest geocoding APIs. The supported MapQuest geocoding endpoints are:
- Open API
- Licensed API
Configuration
In the startup ConfigureServices
method, add the configuration for the MapQuest service:
using Geo.MapQuest.DependencyInjection;
.
.
.
public void ConfigureServices(IServiceCollection services)
{
.
.
.
services.AddMapQuestServices(options => options.UseKey(your_mapquest_api_key_here));
.
.
.
}
MapQuest has 2 endpoint types, open and licensed. They are not able to be used together. For more information, refer to the MapQuest Terms of Service. To specify whether to use the licensed endpoint or not, call the options method UseLicensedEndpoints
. The default endpoint that is used is the open endpoint.
using Geo.MapQuest.DependencyInjection;
.
.
.
public void ConfigureServices(IServiceCollection services)
{
.
.
.
services.AddMapQuestServices(options => options.UseKey(your_mapquest_api_key_here).UseLicensedEndpoints());
.
.
.
}
Sample Usage
By calling AddMapQuestServices
, the IMapQuestGeocoding
interface has been added to the IOC container. Just request it as a DI item:
public MyService(IMapQuestGeocoding mapQuestGeocoding)
{
...
}
Now simply call the geocoding methods in the interface.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. 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 was computed. 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 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Geo.Core (>= 2.0.0-alpha.6)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.0)
- Microsoft.Extensions.Http (>= 3.1.0)
- System.ComponentModel.Annotations (>= 4.7.0)
- System.Configuration.ConfigurationManager (>= 4.7.0)
-
net6.0
- Geo.Core (>= 2.0.0-alpha.6)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Http (>= 6.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Configuration.ConfigurationManager (>= 6.0.0)
-
net8.0
- Geo.Core (>= 2.0.0-alpha.6)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Configuration.ConfigurationManager (>= 8.0.0)
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 |
---|---|---|
2.2.0-alpha.12 | 44 | 10/16/2024 |
2.2.0-alpha.6 | 47 | 8/2/2024 |
2.2.0-alpha.1 | 50 | 7/17/2024 |
2.1.2 | 75 | 10/16/2024 |
2.1.1 | 103 | 8/2/2024 |
2.1.0 | 118 | 5/20/2024 |
2.1.0-alpha.4 | 60 | 5/20/2024 |
2.1.0-alpha.2 | 63 | 5/20/2024 |
2.1.0-alpha.1 | 48 | 5/14/2024 |
2.0.0 | 151 | 1/29/2024 |
2.0.0-alpha.8 | 55 | 1/28/2024 |
2.0.0-alpha.7 | 54 | 1/28/2024 |
2.0.0-alpha.6 | 66 | 1/22/2024 |
2.0.0-alpha.3 | 56 | 1/21/2024 |
2.0.0-alpha.2 | 65 | 1/14/2024 |
1.6.0 | 175 | 12/30/2023 |
1.6.0-alpha.11 | 81 | 9/19/2023 |
1.6.0-alpha.7 | 89 | 9/2/2023 |
1.5.2 | 149 | 9/19/2023 |
1.5.1 | 164 | 9/2/2023 |
1.5.0 | 202 | 6/4/2023 |
1.5.0-alpha.4 | 75 | 5/27/2023 |
1.5.0-alpha.3 | 89 | 4/13/2023 |
1.5.0-alpha.2 | 86 | 4/12/2023 |
1.5.0-alpha.1 | 90 | 4/11/2023 |
1.4.0 | 233 | 4/8/2023 |
1.4.0-alpha.3 | 83 | 4/7/2023 |
1.4.0-alpha.2 | 81 | 4/7/2023 |
1.4.0-alpha.1 | 82 | 4/6/2023 |
1.3.0 | 211 | 4/4/2023 |
1.3.0-alpha.12 | 88 | 4/3/2023 |
1.3.0-alpha.11 | 87 | 4/3/2023 |
1.3.0-alpha.10 | 93 | 4/2/2023 |
1.3.0-alpha.9 | 89 | 4/2/2023 |
1.3.0-alpha.6 | 109 | 1/15/2023 |
1.3.0-alpha.5 | 109 | 8/20/2022 |
1.2.1 | 217 | 4/2/2023 |
1.2.0 | 1,180 | 8/20/2022 |
1.2.0-alpha.4 | 96 | 8/19/2022 |
1.2.0-alpha.3 | 110 | 8/14/2022 |
1.2.0-alpha.2 | 103 | 7/22/2022 |
1.1.1 | 618 | 7/22/2022 |
1.1.0 | 668 | 6/4/2022 |
1.1.0-alpha.5 | 113 | 5/29/2022 |
1.1.0-alpha.4 | 114 | 5/29/2022 |
1.1.0-alpha.3 | 113 | 5/28/2022 |
1.1.0-alpha.2 | 117 | 5/24/2022 |
1.0.0 | 643 | 1/10/2021 |