Options
All
  • Public
  • Public/Protected
  • All
Menu

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

see

Maps JavaScript API

Hierarchy

  • DirectionsWaypoint

Index

Properties

Properties

Optional location

location: undefined | string | LatLng | Place

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

see

Maps JavaScript API

Optional stopover

stopover: undefined | 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.

default

true

see

Maps JavaScript API

Generated using TypeDoc