Skip to content

Repository files navigation

License: MIT

Mapbox.Api

NugetCodacy Badge

To use the Mapbox API nuget package:

Visual Studio

  1. Open your project in Visual Studio
  2. Right-click on the project and click "Manage Nuget packages"
  3. Find the package "Mapbox.Api" - install the latest version

Example code (C# 8.0)

usingMapbox.Api;usingSystem;usingSystem.Threading.Tasks;namespaceMy.Project{publicstaticclassProgram{publicstaticasyncTaskMain(){varMapboxClient=newMapboxClient(newMapboxClientOptions{AccessToken="0123456789abcdef0123456789abcdef01234567"});vargeocoding=awaitMapboxClient.Geocoding.GetForwardsAsync("Greenwich Observatory, Greenwich, London").ConfigureAwait(false);Console.WriteLine($"Location: {geolocation}");}}}

API Documentation

The Mapbox API documentation can be found here:

About

A Mapbox API nuget package for .NET developers

Resources

Contributing

Security policy

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages