GoogleMapsPlacesV1RouteModifiers
import type { GoogleMapsPlacesV1RouteModifiers } from "https://googleapis.deno.dev/v1/places:v1.ts";
Encapsulates a set of optional conditions to satisfy when calculating the routes.
interface GoogleMapsPlacesV1RouteModifiers {
avoidFerries?: boolean;
avoidHighways?: boolean;
avoidIndoor?: boolean;
avoidTolls?: boolean;
}§Properties
§
avoidFerries?: boolean
[src]Optional. When set to true, avoids ferries where reasonable, giving
preference to routes not containing ferries. Applies only to the DRIVE
and TWO_WHEELER
TravelMode
.
§
avoidHighways?: boolean
[src]Optional. When set to true, avoids highways where reasonable, giving
preference to routes not containing highways. Applies only to the DRIVE
and TWO_WHEELER
TravelMode
.