该 API 现在会根据历史平均值,返回未来时间段的预计行程时间(包括交通时间)。以前,该 API 仅针对与当前时间非常接近的时间返回交通状况中的行车时间。如需接收包含路况信息的预计行程时间,请指定“现在”或未来的某个时间作为出发时间,并将交通方式设为驾车。您还可以指定乐观、悲观或最佳估算(默认)的交通模型,以影响计算行程时间时所用的假设。如需了解详情,请参阅开发者指南。
标准版方案客户现在可以查看最佳路线和拥堵情况下的行程时间,这些功能之前仅适用于 Google Maps Platform 专业版方案客户。
关于这些版本说明
本文档介绍了 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 Distance Matrix API now provides predicted travel times with traffic for future times, considering historical averages and allowing for traffic model specification."],["Standard Plan customers gain access to optimal routes and travel times in traffic, features previously exclusive to Premium Plan customers."],["This changelog details releases from November 2015 onward, focusing on new features, bug fixes, and performance improvements."],["Users can subscribe to an XML feed to receive updates on new releases."]]],[]]