Azure Maps Search for .NET: Location Intelligence & Geocoding
Location data powers countless applications — from delivery routing to store locators to ride-sharing. Azure Maps Search provides geocoding, reverse geocoding, address validation, and point-of-interest discovery through a global, enterprise-grade mapping platform.
What This Skill Does
Offers address geocoding (convert addresses to coordinates), reverse geocoding (coordinates to addresses), fuzzy search for flexible queries, POI (point of interest) search, address validation and standardization, and batch geocoding for bulk operations.
Getting Started
dotnet add package Azure.Maps.Search
Geocode an address:
using Azure;
using Azure.Maps.Search;
var credential = new AzureKeyCredential("<maps-key>");
var client = new MapsSearchClient(credential);
var result = await client.SearchAddressAsync("1 Microsoft Way, Redmond, WA");
var location = result.Value.Results[0].Position;
Console.WriteLine($"Coordinates: {location.Latitude}, {location.Longitude}");
Reverse geocode coordinates:
var reverseResult = await client.ReverseSearchAddressAsync(
new SearchAddressReversedOptions { Coordinates = new GeoPosition(-122.1297, 47.6397) }
);
Console.WriteLine($"Address: {reverseResult.Value.Addresses[0].Address.FreeformAddress}");
Key Features
Fuzzy Search handles misspellings and partial addresses. POI Categories find nearby restaurants, gas stations, hotels. Batch Operations geocode thousands of addresses efficiently. Address Validation standardizes and corrects addresses. Global Coverage supports addresses worldwide.
When to Use
Use for address autocomplete, delivery route planning, store locators, geofencing applications, location-based search, and logistics optimization. Essential for any application involving physical addresses or locations.
Source
Maintained by Microsoft. View on GitHub