Options
All
  • Public
  • Public/Protected
  • All
Menu

A DirectionsWaypoint represents a location between origin and destination through which the trip should be routed.

Hierarchy

  • DirectionsWaypoint

Index

Properties

Optional location

location?: string | LatLng | Place

Waypoint location. Can be an address string, a LatLng, or a Place. Optional.

Optional stopover

stopover?: boolean

If true, indicates that this waypoint is a stop between the origin and destination. This has the effect of splitting the route into two legs. If false, indicates that the route should be biased to go through this waypoint, but not split into two legs. This is useful if you want to create a route in response to the user dragging waypoints on a map.

defaultvalue

true

Generated using TypeDoc