Google Maps FleetEngine V1 Client - Class ConsumableTrafficPolyline (0.4.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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.

Returns
Type
Description

setSpeedReadingInterval

Traffic speed along the path from the previous waypoint to the current waypoint.

Parameter
Name
Description
var
Returns
Type
Description
$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.

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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: