RefreshRouteOptions.withPedestrianOptions constructor

RefreshRouteOptions.withPedestrianOptions(
  1. PedestrianOptions pedestrianOptions
)

Constructs a RefreshRouteOptions object with PedestrianOptions.

  • pedestrianOptions Converts the route to a pedestrian route, if a different transport mode was used for the RouteHandle. Note that in case this is not possible, an RoutingError.noRouteFound error will be triggered.

Implementation

factory RefreshRouteOptions.withPedestrianOptions(PedestrianOptions pedestrianOptions) => $prototype.withPedestrianOptions(pedestrianOptions);