Options
All
  • Public
  • Public/Protected
  • All
Menu

The valid transit route type that can be specified in a TransitOptions. Specify these by value, or by using the constant's name. For example, 'LESS_WALKING' or google.maps.TransitRoutePreference.LESS_WALKING.

Access by calling const {TransitRoutePreference} = await google.maps.importLibrary("routes"). See https://developers.google.com/maps/documentation/javascript/libraries.

Index

Enumeration Members

Enumeration Members

FEWER_TRANSFERS: "FEWER_TRANSFERS"

Specifies that the calculated route should prefer a limited number of transfers.

LESS_WALKING: "LESS_WALKING"

Specifies that the calculated route should prefer limited amounts of walking.

Generated using TypeDoc