本产品或功能目前处于旧版状态。如需详细了解“旧版”状态以及如何从旧版服务迁移到较新的服务,请参阅
旧版产品和功能。
Directions API(旧版)版本说明
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
订阅以下版本说明。
每次发布新版 Directions API(旧版)时,本页面都会更新。更新日志会按日期顺序列出各个版本,并包含所有新功能、bug 修复和重大性能改进。
如需了解如何使用 Directions API(旧版),请参阅开发者指南。
2015 年 11 月 10 日
功能和改进
- 现在,该 API 会根据历史平均数据返回未来时间的预计交通时间。之前,该 API 仅返回非常接近当前时间的交通状况下的出行时间。如需接收包含路况信息的预测行程时间,请指定“现在”或未来的某个时间作为出发时间,并将出行方式指定为驾车。您还可以指定乐观、悲观或最佳猜测(默认)的交通模型,以影响计算出行时间时使用的假设。如需了解详情,请参阅开发者指南。
- 标准版方案客户现在可以使用所有 Directions API(旧版)功能,这些功能之前仅面向 Google Maps Platform 专业版方案客户提供:最佳路线和交通时间,以及增加的航点数量(最多 23 个,之前最多为 8 个航点)。
关于这些版本说明
本文档介绍了 2015 年 11 月及之后发布的版本。Directions API(旧版)在该日期之前就已存在,并且发布了多个版本,但这些版本未包含在这些注释中。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\u003cp\u003eThe Directions API now provides predicted travel times with traffic for future times, considering historical data and allowing for traffic model specification.\u003c/p\u003e\n"],["\u003cp\u003eStandard Plan customers now have access to all Directions API features, including optimal routes, traffic-based travel times, and support for up to 23 waypoints.\u003c/p\u003e\n"],["\u003cp\u003eThese release notes cover updates from November 2015 onward, with prior releases not included in this documentation.\u003c/p\u003e\n"],["\u003cp\u003eUsers can subscribe to an XML feed to stay updated on new releases and changes to the Directions API.\u003c/p\u003e\n"]]],["The Directions API release notes, updated with each new release, detail features, bug fixes, and performance improvements. A key update from November 10, 2015, includes predicted travel times with traffic for future departure times using historical averages and a choice of traffic models. Standard Plan customers gained access to optimal routes, travel times with traffic, and increased waypoints (up to 23) that were previously limited to Premium Plan users. These notes start from November 2015.\n"],null,["# Directions API (Legacy) Release Notes\n\n[Subscribe](/static/maps/documentation/directions/feeds/releases.xml)\nto these release notes.\n[](/static/maps/documentation/directions/feeds/releases.xml)\n\nThis page is updated with each new release of the\nDirections API (Legacy). The changelog lists releases by date and includes\nany new features, bug fixes and significant performance improvements.\n\nConsult the [developer's guide](/maps/documentation/directions/overview) for information on how to\nuse the Directions 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/directions/get-directions#traffic-model).\n- Standard Plan customers now have access to all the Directions API (Legacy) features that were previously available only to Google Maps Platform Premium Plan customers: optimal routes and travel times in traffic, and an increased number of waypoints - up to 23, increased from the previous limit of 8 way points.\n\nAbout these release notes\n-------------------------\n\nThis document describes releases from November 2015 onwards. The\nDirections API (Legacy) existed before that date and had a number of\nreleases, but they're not included in these notes."]]