Google Maps FleetEngine V1 Client - Class TrafficPolylineData (0.1.1)

Reference documentation and code samples for the Google Maps FleetEngine V1 Client class TrafficPolylineData.

Traffic conditions along the expected vehicle route.

Generated from protobuf message maps.fleetengine.v1.TrafficPolylineData

Namespace

Google \ Maps \ FleetEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ traffic_rendering Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering

A polyline rendering of how fast traffic is for all regions along one stretch of a customer ride.

getTrafficRendering

A polyline rendering of how fast traffic is for all regions along one stretch of a customer ride.

Returns
Type Description
Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering|null

hasTrafficRendering

clearTrafficRendering

setTrafficRendering

A polyline rendering of how fast traffic is for all regions along one stretch of a customer ride.

Parameter
Name Description
var Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering
Returns
Type Description
$this