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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ traffic_rendering |
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 |
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 |
VisualTrafficReportPolylineRendering
|
Returns | |
---|---|
Type | Description |
$this |