Search code examples
javascriptazure-maps

How to calculate distance with Azure Maps API


I need to calculate distance between a set of origins and destinations like Bing Map Distance Matrix API, but in my case with Azure Map API. It's possible?


Solution

  • The Azure Maps platforms has a distance matrix service called Route Matrix: https://learn.microsoft.com/en-us/rest/api/maps/route/postroutematrixpreview