Routing API v7 Developer's Guide

Avoiding Specific Roads and Areas

When planning a route, most drivers want to avoid areas of congestion such as roadworks or areas that are cordoned off for special events. You can implement the Routing API v7 so that drivers can easily define roads and areas to avoid.

Consider the following example:


The avoidareas parameter contains two sets of coordinates. These coordinates define a rectangular area around the Deutsche Guggenheim museum. When the route is calculated, the Routing API v7 ensures that the route does not go through this area.

For more information, see Requesting a Route Avoiding an Area