create
fun create(routePlanner: RoutePlanner, alternateRoutePlanner: RoutePlanner, executionPolicy: ExecutionPolicy = ExecutionPolicy.Fallback): RoutePlanner
Deprecated
This will be removed from future releases after 2027-02-05.
Creates an instance of RoutePlanner, which wraps two RoutePlanners and applies orchestration logic depending on the execution policy.
Parameters
routePlanner
The routing API to try first.
alternateRoutePlanner
The routing API to use if the primary one fails.
executionPolicy
The execution policy to use for api orchestration.