Forum Discussion
Migrate Bing Maps Distance Matrix to Azure Maps Route Matrix
Hello,
You can always refer to the API specification document for supported parameters and samples.
Route - Post Route Matrix Sync - REST API (Azure Maps) | Microsoft Learn
Here is a sample to make a post synchronous call to Route Matrix.
POST https://atlas.microsoft.com/route/matrix/sync/json?api-version=1.0&routeType=shortest
{
"origins": {
"type": "MultiPoint",
"coordinates": [
[
4.85106,
52.36006
],
[
4.85056,
52.36187
]
]
},
"destinations": {
"type": "MultiPoint",
"coordinates": [
[
4.85003,
52.36241
],
[
13.42937,
52.50931
]
]
}
}
We have released a new version of the Route Matrix API that can support up to 50k matrix size in a single API call.
Route - Post Route Matrix Async - REST API (Azure Maps) | Microsoft Learn
Summary of the latest stable and preview releases for Azure Maps rest APIs.
Links to the Azure Maps Rest API - Microsoft Azure Maps | Microsoft Learn