This product or feature is in Legacy status and cannot be enabled for new usage. For more information about the Legacy stage and how to migrate from Legacy to newer services, see
Legacy products and features.
Distance Matrix API(旧版)版本说明
订阅以下版本说明。
凡发布新版 Distance Matrix API(旧版),本页面均会更新。更新日志会按日期顺序列出各个版本,并包含所有新功能、问题修复和重大性能改进。
如需了解如何使用 Distance Matrix API(旧版),请参阅开发者指南。
2015 年 11 月 10 日
功能和改进
- 该 API 现在会根据历史平均数据,返回未来时间段的预计行程时间(含交通状况)。以前,该 API 仅针对与当前时间非常接近的时间返回交通状况中的行车时间。如需接收包含路况信息的预计行程时间,请指定“现在”或未来某个时间的出发时间,并将出行方式设为驾车。您还可以指定乐观、悲观或最佳猜测(默认)的交通模型,以影响计算行程时间时所用的假设。如需了解详情,请参阅开发者指南。
- 标准版方案客户现在可以查看最佳路线和拥堵情况下的行程时间,这些功能之前仅适用于 Google Maps Platform 专业版方案客户。
关于这些版本说明
本文档介绍了 2015 年 11 月之后的版本。Distance Matrix API(旧版)在此日期之前就已存在,并且发布了多个版本,但这些版本未包含在此备注中。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-03-13。
[null,null,["最后更新时间 (UTC):2025-03-13。"],[[["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."]]],[]]