RouteSegmentInput: {
    distance?: InputMaybe<Scalars["Float"]>;
    duration?: InputMaybe<Scalars["Float"]>;
    mode?: InputMaybe<RouteMode>;
    positions?: InputMaybe<PositionInput[]>;
    useRouteSearching?: InputMaybe<Scalars["Boolean"]>;
}

Create a RouteSegment

Type declaration

  • Optional distance?: InputMaybe<Scalars["Float"]>

    The distance for this route segment

  • Optional duration?: InputMaybe<Scalars["Float"]>

    The duration for this route segment

  • Optional mode?: InputMaybe<RouteMode>

    The mode of transport to be taken on this segment, defaults to Car

  • Optional positions?: InputMaybe<PositionInput[]>

    The way positions along this route

  • Optional useRouteSearching?: InputMaybe<Scalars["Boolean"]>

    Whether to plan out a route using the positions. Defaults to true if the mode is searchable and otherwise will be set to false

Generated using TypeDoc