可用的流量选项
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
请求路线时,您可以选择 Routes API 在计算路线时如何使用流量数据。流量模型是一种将历史路况信息和实时路况信息纳入路线生成过程的方式,可能会影响您获得的路线以及估算的行程时间。
以下是路线的流量选项:
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-22。
[null,null,["最后更新时间 (UTC):2025-07-22。"],[[["\u003cp\u003eThe Routes API offers options to customize how traffic data is used for route calculation, impacting both route selection and estimated travel times.\u003c/p\u003e\n"],["\u003cp\u003eYou can choose to include or exclude traffic data, impacting the accuracy and speed of the results.\u003c/p\u003e\n"],["\u003cp\u003eTraffic-aware polylines provide detailed traffic conditions along the route but come with higher billing rates.\u003c/p\u003e\n"],["\u003cp\u003eDifferent traffic models can be selected to prioritize various factors like historical and live traffic conditions when estimating travel duration.\u003c/p\u003e\n"]]],["The Routes API allows users to incorporate traffic data into route calculations. Users can choose to include or exclude traffic data for varying accuracy and response times. They can also opt for traffic-aware polylines, which provide traffic condition details along the route, though this incurs a higher cost. Furthermore, users can specify which traffic model to use, prioritizing factors in calculating travel duration based on traffic conditions.\n"],null,[]]