Azure Maps provides managed geospatial services through REST APIs and an interactive JavaScript map control. Its main capabilities include map rendering, address and place search, forward and reverse geocoding, route calculation, traffic information, weather, time zones, and IP-based country or region lookup. These services supply geographic context; applications remain responsible for storing business records, processing device telemetry, and implementing operational decisions.
Create an Azure Maps account in an Azure subscription and configure authentication before calling the service. Subscription keys are supported, but Microsoft Entra authentication with Azure role-based access control enables identity-based authorization. For backend workloads, use a managed identity where supported and assign the minimum required data-plane role at the Maps account scope. A management-plane role that permits account administration does not necessarily grant access to mapping APIs. Avoid placing unrestricted subscription keys in browser code.
Use Web SDK map control version 3 for interactive browser maps. The control uses WebGL and supports application-provided data, custom layers, markers, clustering, and popups. Supply coordinates and business attributes from your own application APIs rather than treating Azure Maps as a general-purpose data store. For mobile applications, the Web SDK can run inside a web view. The native Android and iOS SDKs had a retirement date of March 31, 2025. Applications using Render tiles in third-party controls must display the required map attribution.
Search APIs translate addresses into coordinates, reverse-geocode coordinates, and find places or businesses. Route APIs calculate directions, travel times, distances, and matrices, with supported options depending on the API version and operation. Validate geographic coverage, travel modes, vehicle restrictions, and request limits against the specific operation you select. Coordinate conventions also require attention: GeoJSON positions use longitude followed by latitude, while individual REST parameters may require a different format. IP geolocation returns country or region information, not a device's precise location.
Design clients around service-specific queries-per-second limits. Azure Maps has no maximum daily request limit, but exceeding a QPS limit produces HTTP 429 responses. Use bounded concurrency, exponential backoff with jitter, and Retry-After when supplied. Debounce interactive search and avoid recalculating routes for every incoming telemetry message. Estimate costs using billable transaction definitions rather than assuming that every HTTP request, map view, or batch represents one transaction.
Track API and SDK versions explicitly. Route APIs version 1.0 retire on March 31, 2028, with version 2025-01-01 identified as the migration target. Traffic APIs version 1.0 have the same retirement date; replacement operations use Traffic version 2025-01-01 and Render Get Map Tile version 2024-04-01 as appropriate. Creator, Data Registry, and the identified Spatial API versions had retirement dates of September 30, 2025, so do not select them for new architectures. Implement persistent spatial storage and geofence evaluation in another suitable service or application component.