locked
Excluding countries from Route RRS feed

  • Question

  • Is there a way to exclude a route from going through a certain country?  An example would be going from Detroit, MI (US) to Albany, NY (US) without going through Canada.
    Tuesday, February 28, 2017 3:39 PM

Answers

  • There is no option for this in the REST routing service. What you can do is specify a via-waypoint in your request that is in Ohio and this will force the route to stay in the US in this case. If you use the Bing Maps V8 control and the directions module, you can easily drag the route back into the US.

    [Blog] [twitter] [LinkedIn]

    Tuesday, February 28, 2017 7:49 PM