Reference documentation and code samples for the Google Maps FleetEngine V1 Client class Waypoint.
Describes intermediate points along a route for a VehicleMatch
in a
SearchVehiclesResponse
. This concept is represented as a TripWaypoint
in
all other endpoints.
Generated from protobuf message maps.fleetengine.v1.Waypoint
Namespace
Google \ Maps \ FleetEngine \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ lat_lng |
Google\Type\LatLng
The location of this waypoint. |
↳ eta |
Google\Protobuf\Timestamp
The estimated time that the vehicle will arrive at this waypoint. |
getLatLng
The location of this waypoint.
Returns | |
---|---|
Type | Description |
Google\Type\LatLng|null |
hasLatLng
clearLatLng
setLatLng
The location of this waypoint.
Parameter | |
---|---|
Name | Description |
var |
Google\Type\LatLng
|
Returns | |
---|---|
Type | Description |
$this |
getEta
The estimated time that the vehicle will arrive at this waypoint.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasEta
clearEta
setEta
The estimated time that the vehicle will arrive at this waypoint.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |