Geo.MapBox 2.2.0-alpha.6

This is a prerelease version of Geo.MapBox.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Geo.MapBox --version 2.2.0-alpha.6                
NuGet\Install-Package Geo.MapBox -Version 2.2.0-alpha.6                
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="Geo.MapBox" Version="2.2.0-alpha.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Geo.MapBox --version 2.2.0-alpha.6                
#r "nuget: Geo.MapBox, 2.2.0-alpha.6"                
#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 Geo.MapBox as a Cake Addin
#addin nuget:?package=Geo.MapBox&version=2.2.0-alpha.6&prerelease

// Install Geo.MapBox as a Cake Tool
#tool nuget:?package=Geo.MapBox&version=2.2.0-alpha.6&prerelease                

MapBox Geocoding

This allows the simple calling of MapBox geocoding APIs. The supported MapBox geocoding endpoints are:

Configuration

In the startup ConfigureServices method, add the configuration for the MapBox service:

using Geo.Extensions.DependencyInjection;
.
.
.
public void ConfigureServices(IServiceCollection services)
{
    .
    .
    .
    var builder = services.AddMapBoxGeocoding();
    builder.AddKey(your_mapbox_api_key_here);
    builder.HttpClientBuilder.ConfigureHttpClient(configure_client);
    .
    .
    .
}

Sample Usage

By calling AddMapBoxGeocoding, the IMapBoxGeocoding interface has been added to the IOC container. Just request it as a DI item:

public MyService(IMapBoxGeocoding mapBoxGeocoding)
{
    ...
}

Now simply call the geocoding methods in the interface.

Endpoint Types

MapBox has 2 endpoint types, permanent and non-permanent.

  • Requests to the non-permanent endpoint must be triggered by user activity. Any results must be displayed on a Mapbox map and cannot be stored permanently, as described in Mapbox�s terms of service.
  • The permanent endpoint gives you access to two services: permanent geocoding and batch geocoding.
Product 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. 
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
2.2.0-alpha.12 48 10/16/2024
2.2.0-alpha.6 48 8/2/2024
2.2.0-alpha.1 52 7/17/2024
2.1.2 157 10/16/2024
2.1.1 861 8/2/2024
2.1.0 657 5/20/2024
2.1.0-alpha.4 62 5/20/2024
2.1.0-alpha.2 64 5/20/2024
2.1.0-alpha.1 47 5/14/2024
2.0.0 862 1/29/2024
2.0.0-alpha.8 60 1/28/2024
2.0.0-alpha.7 57 1/28/2024
2.0.0-alpha.6 67 1/22/2024
2.0.0-alpha.3 56 1/21/2024
2.0.0-alpha.2 67 1/14/2024
1.6.0 470 12/30/2023
1.6.0-alpha.11 88 9/19/2023
1.6.0-alpha.7 95 9/2/2023
1.5.2 2,929 9/19/2023
1.5.1 216 9/2/2023
1.5.0 4,018 6/4/2023
1.5.0-alpha.4 70 5/27/2023
1.5.0-alpha.3 94 4/13/2023
1.5.0-alpha.2 85 4/12/2023
1.5.0-alpha.1 88 4/11/2023
1.4.0 3,735 4/8/2023
1.4.0-alpha.3 87 4/7/2023
1.4.0-alpha.2 82 4/7/2023
1.4.0-alpha.1 88 4/6/2023
1.3.0 435 4/4/2023
1.3.0-alpha.12 90 4/3/2023
1.3.0-alpha.11 83 4/3/2023
1.3.0-alpha.10 100 4/2/2023
1.3.0-alpha.9 95 4/2/2023
1.3.0-alpha.6 115 1/15/2023
1.3.0-alpha.5 110 8/20/2022
1.2.1 265 4/2/2023
1.2.0 2,862 8/20/2022
1.2.0-alpha.4 107 8/19/2022
1.2.0-alpha.3 109 8/14/2022
1.2.0-alpha.2 107 7/22/2022
1.1.1 727 7/22/2022
1.1.0 783 6/4/2022
1.1.0-alpha.5 120 5/29/2022
1.1.0-alpha.4 118 5/29/2022
1.1.0-alpha.3 114 5/28/2022
1.1.0-alpha.2 119 5/24/2022
1.0.0 25,076 1/10/2021