On-demand Rides and Deliveries Solution is currently available only to select partners. Contact sales to learn more.

VehicleLocationLog

The location, speed, and heading of a vehicle at a point in time.

JSON representation
{
  "location": {
    object (LatLng)
  },
  "serverTime": string,
  "heading": integer,
  "bearingAccuracy": number,
  "altitude": number,
  "verticalAccuracy": number,
  "altitudeAccuracy": number,
  "speed": number,
  "speedAccuracy": number,
  "locSensor": enum (LocationSensorLog),
  "isGpsSensorEnabled": boolean,
  "rawLocation": {
    object (LatLng)
  },
  "rawLocationTime": string,
  "rawLocationAccuracy": number
}
Fields
location

object (LatLng)

Vehicle location.

serverTime

string (Timestamp format)

The time when the server receives the location.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

heading

integer

Direction the vehicle is moving in degrees. 0 represents North. The valid range is [0,360).

bearingAccuracy

number

Accuracy of bearing in degrees.

altitude

number

Altitude in meters above WGS84.

verticalAccuracy
(deprecated)

number

Deprecated: Use altitudeAccuracy instead.

altitudeAccuracy

number

Accuracy of altitude in meters.

speed

number

Speed of vehicle in meters/second

speedAccuracy

number

Accuracy of speed in meters/second.

locSensor

enum (LocationSensorLog)

Location data provider.

isGpsSensorEnabled

boolean

Specifies whether GPS Provider is enabled.

rawLocation

object (LatLng)

Raw location with no road-snapping processing.

rawLocationTime

string (Timestamp format)

The time when the raw location was recorded.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

rawLocationAccuracy

number

Accuracy of raw location (lat/lng) in meters as a radius.