Google Maps FleetEngine V1 Client - Class VisualTrafficReportPolylineRendering (0.1.3)

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

Describes how clients should color one portion of the polyline along the route.

Generated from protobuf message maps.fleetengine.v1.VisualTrafficReportPolylineRendering

Namespace

Google \ Maps \ FleetEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ road_stretch array<Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering\RoadStretch>

Optional. Road stretches that should be rendered along the polyline. Stretches are guaranteed to not overlap, and do not necessarily span the full route. In the absence of a road stretch to style, the client should apply the default for the route.

getRoadStretch

Optional. Road stretches that should be rendered along the polyline.

Stretches are guaranteed to not overlap, and do not necessarily span the full route. In the absence of a road stretch to style, the client should apply the default for the route.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRoadStretch

Optional. Road stretches that should be rendered along the polyline.

Stretches are guaranteed to not overlap, and do not necessarily span the full route. In the absence of a road stretch to style, the client should apply the default for the route.

Parameter
Name Description
var array<Google\Maps\FleetEngine\V1\VisualTrafficReportPolylineRendering\RoadStretch>
Returns
Type Description
$this