Reference documentation and code samples for the Google Maps FleetEngine V1 Client class SpeedReadingInterval.
Traffic density indicator on a contiguous segment of a path. Given a path with points P_0, P_1, ... , P_N (zero-based index), the SpeedReadingInterval defines an interval and describes its traffic using the following categories.
Generated from protobuf message maps.fleetengine.v1.SpeedReadingInterval
Namespace
Google \ Maps \ FleetEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ start_polyline_point_index
int
The starting index of this interval in the path. In JSON, when the index is 0, the field will appear to be unpopulated.
↳ end_polyline_point_index
int
The ending index of this interval in the path. In JSON, when the index is 0, the field will appear to be unpopulated.
↳ speed
int
Traffic speed in this interval.
getStartPolylinePointIndex
The starting index of this interval in the path.
In JSON, when the index is 0, the field will appear to be unpopulated.
int
setStartPolylinePointIndex
The starting index of this interval in the path.
In JSON, when the index is 0, the field will appear to be unpopulated.
var
int
$this
getEndPolylinePointIndex
The ending index of this interval in the path.
In JSON, when the index is 0, the field will appear to be unpopulated.
int
setEndPolylinePointIndex
The ending index of this interval in the path.
In JSON, when the index is 0, the field will appear to be unpopulated.
var
int
$this
getSpeed
Traffic speed in this interval.
int
setSpeed
Traffic speed in this interval.
var
int
$this