Route API, Country Code, Right hand drive route

Mathew James 336 Reputation points
2024-05-20T03:08:43.8833333+00:00

Hi -

I am using the below Azure Route api for getting the route and plotting the same in the map.

GET https://atlas.microsoft.com/route/directions/{format}?api-version=1.0&query={query}

The problem I have is

  1. The route it gives by default is for Left hand drive. I am using this in India. Is there any way I can change any parameters so that it plots the Right hand drive route ?
  2. How to specify country code in the above API.
  3. If i specify the country code, will it automatically give the Right hand drive route ? Please help. Thanks! -Mathew
Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
615 questions
{count} votes

Accepted answer
  1. rbrundritt 15,716 Reputation points Microsoft Employee
    2024-05-20T15:59:26.3733333+00:00

    The route follows the road direction itself, and changes as the roads do globally. If you drive between countries where the sides of the roads differ, the route automatically follows the roads and switches over as needed.


0 additional answers

Sort by: Most helpful