The route to query, which must contain properties.progress data.
Exactly one of:
{ traveledTimeInSeconds }, the elapsed seconds from the route start.{ traveledDistanceInMeters }, the meters traveled from the route start.{ clockTime }, an absolute Date. The elapsed seconds come from route.properties.summary.departureTime.The interpolated RouteCoordinateAtProgress, or undefined when:
progress dataclockTime is before the route departure time// By elapsed time
const pos = getCoordinateAtRouteProgress(route, { traveledTimeInSeconds: 600 });
// By distance
const pos = getCoordinateAtRouteProgress(route, { traveledDistanceInMeters: 5000 });
// By clock time
const pos = getCoordinateAtRouteProgress(route, { clockTime: new Date('2025-06-01T09:30:00Z') });
Returns the geographic coordinate and cumulative progress at the route point a RouteProgressQuery identifies.
Between
progressentries, positions follow the line's length, so equal steps of distance cover equal ground.