Interface GroundingChunkMapsRoute

Route information from Google Maps. This data type is not supported in Gemini API.

interface GroundingChunkMapsRoute {
    distanceMeters?: number;
    duration?: string;
    encodedPolyline?: string;
}

Properties

distanceMeters?: number

The total distance of the route, in meters.

duration?: string

The total duration of the route.

encodedPolyline?: string