Traffic speed along the path from the previous waypoint to the current waypoint.
↳ encoded_path_to_waypoint
string
The path the driver is taking from the previous waypoint to the current waypoint. This path has landmarks in it so clients can show traffic markers along the path (see speed_reading_interval). Decoding is not yet supported.
getSpeedReadingInterval
Traffic speed along the path from the previous waypoint to the current
waypoint.
The path the driver is taking from the previous waypoint to the current
waypoint. This path has landmarks in it so clients can show traffic markers
along the path (see speed_reading_interval). Decoding is not yet
supported.
Returns
Type
Description
string
setEncodedPathToWaypoint
The path the driver is taking from the previous waypoint to the current
waypoint. This path has landmarks in it so clients can show traffic markers
along the path (see speed_reading_interval). Decoding is not yet
supported.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Maps FleetEngine V1 Client - Class ConsumableTrafficPolyline (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/maps-fleetengine/latest/V1.ConsumableTrafficPolyline)\n- [0.4.0](/php/docs/reference/maps-fleetengine/0.4.0/V1.ConsumableTrafficPolyline)\n- [0.3.1](/php/docs/reference/maps-fleetengine/0.3.1/V1.ConsumableTrafficPolyline)\n- [0.2.0](/php/docs/reference/maps-fleetengine/0.2.0/V1.ConsumableTrafficPolyline)\n- [0.1.6](/php/docs/reference/maps-fleetengine/0.1.6/V1.ConsumableTrafficPolyline) \nReference documentation and code samples for the Google Maps FleetEngine V1 Client class ConsumableTrafficPolyline.\n\nTraffic density along a Vehicle's path.\n\nGenerated from protobuf message `maps.fleetengine.v1.ConsumableTrafficPolyline`\n\nNamespace\n---------\n\nGoogle \\\\ Maps \\\\ FleetEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSpeedReadingInterval\n\nTraffic speed along the path from the previous waypoint to the current\nwaypoint.\n\n### setSpeedReadingInterval\n\nTraffic speed along the path from the previous waypoint to the current\nwaypoint.\n\n### getEncodedPathToWaypoint\n\nThe path the driver is taking from the previous waypoint to the current\nwaypoint. This path has landmarks in it so clients can show traffic markers\nalong the path (see `speed_reading_interval`). Decoding is not yet\nsupported.\n\n### setEncodedPathToWaypoint\n\nThe path the driver is taking from the previous waypoint to the current\nwaypoint. This path has landmarks in it so clients can show traffic markers\nalong the path (see `speed_reading_interval`). Decoding is not yet\nsupported."]]