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

GoogleMapsPlacesV1RoutingSummaryLeg

import type { GoogleMapsPlacesV1RoutingSummaryLeg } from "https://googleapis.deno.dev/v1/places:v1.ts";

A leg is a single portion of a journey from one location to another.

interface GoogleMapsPlacesV1RoutingSummaryLeg {
distanceMeters?: number;
duration?: number;
}

§Properties

§
distanceMeters?: number
[src]

The distance of this leg of the trip.

§
duration?: number
[src]

The time it takes to complete this leg of the trip.