Routes Preferred API 目前仅适用于部分客户。如需了解详情,请
与销售人员联系。
SpeedReadingInterval
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
多段线或路径的连续路段上的交通密度指示器。如果路径包含点 P_0、P_1、...、P_N(从零开始的索引),SpeedReadingInterval
会定义一个间隔并使用以下类别描述其流量。
JSON 表示法 |
{
"startPolylinePointIndex": integer,
"endPolylinePointIndex": integer,
"speed": enum (Speed )
} |
字段 |
startPolylinePointIndex |
integer
此时间段在多段线中的起始索引。在 JSON 中,当索引为 0 时,该字段似乎未填充。
|
endPolylinePointIndex |
integer
多段线中此间隔的结束索引。在 JSON 中,当编号为 0 时,该字段似乎未填充。
|
speed |
enum (Speed )
此时间间隔内的交通速度。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[],["The `SpeedReadingInterval` defines traffic density on a path segment using a start and end index within a polyline (P_0 to P_N). It uses `startPolylinePointIndex` and `endPolylinePointIndex` (integers) to mark the segment's boundaries. The `speed` field, an enum, categorizes the traffic speed within this segment. If either the start or end index is 0, it is treated as unpopulated. The JSON representation details this structure.\n"],null,[]]