Options
All
  • Public
  • Public/Protected
  • All
Menu

VehicleWaypoint type.

Hierarchy

  • VehicleWaypoint

Index

Properties

distanceMeters: null | number

The path distance between the previous waypoint (or the vehicle's current location, if this waypoint is the first in the list of waypoints) to this waypoint in meters.

durationMillis: null | number

Travel time between the previous waypoint (or the vehicle's current location, if this waypoint is the first in the list of waypoints) to this waypoint in milliseconds.

location: null | LatLngLiteral

The location of the waypoint.

path: null | LatLngLiteral[]

The path from the previous waypoint (or the vehicle's current location, if this waypoint is the first in the list of waypoints) to this waypoint.

speedReadingIntervals: null | SpeedReadingInterval[]

The list of traffic speeds along the path from the previous waypoint (or vehicle location) to the current waypoint. Each interval in the list describes the traffic on a contiguous segment on the path; the interval defines the starting and ending points of the segment via their indices. See the definition of google.maps.journeySharing.SpeedReadingInterval for more details.

Generated using TypeDoc