Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

§
avoidIndoor?: boolean
[src]

Optional. When set to true, avoids navigating indoors where reasonable, giving preference to routes not containing indoor navigation. Applies only to the WALK TravelMode.

§
avoidTolls?: boolean
[src]

Optional. When set to true, avoids toll roads where reasonable, giving preference to routes not containing toll roads. Applies only to the DRIVE and TWO_WHEELER TravelMode.