RefreshRouteOptions.withPedestrianOptions constructor - RefreshRouteOptions - routing library - Dart API
RefreshRouteOptions.withPedestrianOptions
RefreshRouteOptions.withPedestrianOptions constructor
- PedestrianOptions pedestrianOptions
Constructs a RefreshRouteOptions object with PedestrianOptions.
pedestrianOptionsConverts 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);