为什么 calculateRoute 从不 returns 最短模式和卡车类型的路线?

Why calculateRoute never returns route for mode shortest and type truck?

我们的团队在使用 mode=shortest 和 type=truck 的 Calculate Route 测试路由时遇到了 HERE API 的问题。

我们不仅在我们的实现中而且在 ref 客户端上都测试了这一点 here 只需将点拖动到不同的位置即可获得相同的结果。

REST 请求示例:

https://route.api.here.com/routing/7.2/calculateroute.json?app_code=456&app_id=123&jsonattributes=41&language=pl-pl&maneuverattributes=po,ti,pt,ac,di,fj,ix&metricsystem=metric&mode=shortest;truck;traffic:disabled&routeattributes=sh,gr&waypoint0=geo!stopOver!52.913486,6.693136&waypoint1=geo!stopOver!52.002047,19.921338

我希望这种组合能够 return 成功的结果或关于这是异常的消息。此外,如能在 docs 中发表适当的评论,我们将不胜感激。

目前卡车路线仅支持最快和平衡模式。

When calculating truck routes, we recommend to always use the fastest Routing Mode Type.

请参阅文档以供参考。

https://developer.here.com/documentation/routing/topics/routing-mode-parameter-combinations.html https://developer.here.com/documentation/routing/topics/filtering-truck-routing-requests.html

希望对您有所帮助!!