Ability to avoid Streets?

2 posts / 0 new
Last post
Ability to avoid Streets?

Hi, is there an ability to tell the routing API not to use specific routes or to avoid some points (for example construction sites)?
Thanks for the answer!


Sure is. And there are
Sure is. And there are multiple ways to do it even. Use the avoid options to just exclude those areas. Use avoids to avoid general categories of roads (probably not what you're after). Use tryAvoidLinkIds and mustAvoidLinkIds to get around specific road segments. Use routeControlPoints to encourage routes toward or away from areas. And use drag routing to allow users to move routes wherever they like.