Skip to content

.Net Standard 2.0 library to access AzureMaps Services

License

Notifications You must be signed in to change notification settings

gertvantslot/AzureMapsRestServices

 
 

Repository files navigation

Azure Maps REST Services

NuGet license

.Net Standard 2.0 library to access AzureMaps Services

This library covers 36 Azure Maps services including the following services

  • Geolocation services
  • Render services
  • Route services
  • Search services
  • TimeZone services
  • Traffic services

Exceptions

Exception is captures by the library and if any exceptions captured it will be return in the Error proprty in the returned object. See example below.

Example

Search address example

var am = new AzureMapsToolkit.AzureMapsServices('<Azure Maps Key>');
var searchAddressRequest = new SearchAddressRequest
{
   Query = "15127 NE 24th Street,Redmond, WA 98052",
   Limit = 10
};
var resp = am.GetSearchAddress(searchAddressRequest).Result;
if (resp.Error == null)
{
   //Handle error
}

Installation with Nuget

PM> Install-Package AzureMapsRestToolkit

About

.Net Standard 2.0 library to access AzureMaps Services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%