curl-X GET \'https://router.hereapi.com/v8/routes?origin=52.522297,13.353296&destination=52.508309,13.355633&transportMode=car&avoid[areas]=bbox:13.37588,52.51061,13.34226,52.51892&apikey={YOUR_API_KEY}'
指定したエリアを回避するために、ルートが迂回路になります。
回避エリア違反
次のリクエストでは、宛先が回避する領域内にあるため、指定した領域を回避できません。
curl-X GET \'https://router.hereapi.com/v8/routes?origin=52.514647,13.387549&destination=52.516547,13.379095&transportMode=car&avoid[areas]=bbox:13.382279,52.51441,13.376397,52.518284&apikey={YOUR_API_KEY}'