here-api - 20吨以上卡车无视限制
解决方案
首先,请使用最新的 URL 进行请求。https://fleet.ls.hereapi.com/2/calculateroute.json?apikey={{RESTapiKey}}...
如果要避免对卡车的限制,请添加参数truckRestrictionPenalty
并将值设置为soft
。
违反卡车限制的路线在响应中以专用路线和机动说明指示。带有类型违规注释和文本 truckRestriction 的路线可能由您自行负责行驶。在这样的路线上行驶时,必须格外小心,因为这可能会导致车辆或道路基础设施损坏。
推荐阅读
- reactjs - 在我的电影搜索器 Web 应用程序中停止无限搜索
- sapui5 - 如何在多个图块(项目)中加载共享的 i18n 文件?
- c# - 使用收割模式c#读取文本文件
- android-studio - 每次我撤消重新格式化代码时,是否有阻止android studio询问?
- python - 通过 lambda 将 map 与 zip 结合起来
- r - train() 中的 ROC 度量,插入符号包
- python - 数组拆分任务:基于值和自定义类型
- jsf - DataExporter 标记 - PrimeFaces - 仅页面 = “false”
- html - 响应悬停代码
- javascript - Angular:向组件传递一个函数,该函数一旦在目标组件中执行,就应该调用本地(到目标组件)方法