该 API 现在会根据历史平均值,返回未来时间段的预计行程时间(包括交通时间)。以前,该 API 仅针对与当前时间非常接近的时间返回交通状况中的行车时间。如需接收包含路况信息的预计行程时间,请指定“现在”或未来的某个时间作为出发时间,并将交通方式设为驾车。您还可以指定乐观、悲观或最佳估算(默认)的交通模型,以影响计算行程时间时所用的假设。如需了解详情,请参阅开发者指南。
标准版方案客户现在可以使用之前仅 Google Maps Platform 专业版方案客户可用的所有 Directions API 功能:最佳路线和拥堵情况下的行程时间,以及更多航点(最多 23 个,之前的上限为 8 个)。
关于这些版本说明
本文档介绍了 2015 年 11 月之后的版本。导航 API 在此日期之前就已存在,并且发布了多个版本,但这些版本未包含在此备注中。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-12-22。"],[[["The Directions API now provides predicted travel times with traffic for future times, considering historical data and allowing for traffic model specification."],["Standard Plan customers now have access to all Directions API features, including optimal routes, traffic-based travel times, and support for up to 23 waypoints."],["These release notes cover updates from November 2015 onward, with prior releases not included in this documentation."],["Users can subscribe to an XML feed to stay updated on new releases and changes to the Directions API."]]],[]]