此产品或功能处于旧版状态。如需详细了解“旧版”阶段以及如何从旧版服务迁移到较新服务,请参阅
旧版产品和功能。
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-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\u003cp\u003eThe Distance Matrix API now provides predicted travel times with traffic for future times, considering historical averages and allowing for traffic model specification.\u003c/p\u003e\n"],["\u003cp\u003eStandard Plan customers gain access to optimal routes and travel times in traffic, features previously exclusive to Premium Plan customers.\u003c/p\u003e\n"],["\u003cp\u003eThis changelog details releases from November 2015 onward, focusing on new features, bug fixes, and performance improvements.\u003c/p\u003e\n"],["\u003cp\u003eUsers can subscribe to an XML feed to receive updates on new releases.\u003c/p\u003e\n"]]],[],null,["# Distance Matrix API (Legacy) Release Notes\n\n[Subscribe](/static/maps/documentation/distance-matrix/feeds/releases.xml)\nto these release notes.\n[](/static/maps/documentation/distance-matrix/feeds/releases.xml)\n\nThis page is updated with each new release of the\nDistance Matrix API (Legacy). The changelog lists releases by date and\nincludes any new features, bug fixes and significant performance improvements.\n\nConsult the [developer's guide](/maps/documentation/distance-matrix/overview) for information on how to\nuse the Distance Matrix API (Legacy).\n\nNovember 10, 2015\n-----------------\n\n**Features and improvements**\n\n- The API now returns predicted travel times with traffic for times in the future, based on historical averages. Previously, the API only returned travel times in traffic for times very close to now. To receive predicted travel times with traffic, specify a departure time of \"now\" or some time in the future, with a travel mode of driving. You can also specify a traffic model of optimistic, pessimistic, or best guess (default), to influence the assumptions used when calculating the travel time. For details, see the [developer's guide](/maps/documentation/distance-matrix/overview#traffic-model).\n- Standard Plan customers now have access to optimal routes and travel times in traffic - these features were previously available only to Google Maps Platform Premium Plan customers.\n\nAbout these release notes\n-------------------------\n\nThis document describes releases from November 2015 onwards. The\nDistance Matrix API (Legacy) existed before that date and had a number of\nreleases, but they're not included in these notes."]]