Google Maps FleetEngine V1 Client - Class RoadStretch (0.1.2)

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

One road stretch that should be rendered.

Generated from protobuf message maps.fleetengine.v1.VisualTrafficReportPolylineRendering.RoadStretch

Namespace

Google \ Maps \ FleetEngine \ V1 \ VisualTrafficReportPolylineRendering

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ style int

Required. The style to apply.

↳ offset_meters int

Required. The style should be applied between [offset_meters, offset_meters + length_meters).

↳ length_meters int

Required. The length of the path where to apply the style.

getStyle

Required. The style to apply.

Returns
Type Description
int

setStyle

Required. The style to apply.

Parameter
Name Description
var int
Returns
Type Description
$this

getOffsetMeters

Required. The style should be applied between [offset_meters, offset_meters + length_meters).

Returns
Type Description
int

setOffsetMeters

Required. The style should be applied between [offset_meters, offset_meters + length_meters).

Parameter
Name Description
var int
Returns
Type Description
$this

getLengthMeters

Required. The length of the path where to apply the style.

Returns
Type Description
int

setLengthMeters

Required. The length of the path where to apply the style.

Parameter
Name Description
var int
Returns
Type Description
$this