Reference documentation and code samples for the Google Maps FleetEngine V1 Client class ConsumableTrafficPolyline.
Traffic density along a Vehicle's path.
Generated from protobuf message maps.fleetengine.v1.ConsumableTrafficPolyline
Namespace
Google \ Maps \ FleetEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ speed_reading_interval
array< SpeedReadingInterval
>
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.
setSpeedReadingInterval
Traffic speed along the path from the previous waypoint to the current waypoint.
$this
getEncodedPathToWaypoint
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.
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.
var
string
$this