This library covers 50 Azure Maps services including the following services
- Data services
- Geolocation services
- Render services
- Route services
- Search services
- Spatial services
- TimeZone services
- Traffic services
- Mobility services
Exception is captures by the library and if any exceptions captured it will be return in the Error property in the returned object. See example below.
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
}
PM> Install-Package AzureMapsRestToolkit